X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Vlv2TbltDevicePkg%2FPlatformInitPei%2FPlatformSsaInitPeim.c;fp=Vlv2TbltDevicePkg%2FPlatformInitPei%2FPlatformSsaInitPeim.c;h=0000000000000000000000000000000000000000;hp=4ffa3a20a27c105bbb41664e4eb805bf52d985e9;hb=5347c48016f27061475fdb053e867a06ce73492f;hpb=96ef5a8e30a8da33eaab09f13cc8d752342717a5 diff --git a/Vlv2TbltDevicePkg/PlatformInitPei/PlatformSsaInitPeim.c b/Vlv2TbltDevicePkg/PlatformInitPei/PlatformSsaInitPeim.c deleted file mode 100644 index 4ffa3a20a2..0000000000 --- a/Vlv2TbltDevicePkg/PlatformInitPei/PlatformSsaInitPeim.c +++ /dev/null @@ -1,58 +0,0 @@ -/** @file - - Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.
- - SPDX-License-Identifier: BSD-2-Clause-Patent - - - -Module Name: - - - PlatformSsaInitPeim.c - -Abstract: - - ---*/ - -#include "PlatformEarlyInit.h" - -/** - Perform SSA related platform initialization. - -**/ -VOID -PlatformSsaInit ( - IN SYSTEM_CONFIGURATION *SystemConfiguration, - IN CONST EFI_PEI_SERVICES **PeiServices - ) -{ - - DEBUG ((EFI_D_ERROR, "PlatformSsaInit() - Start\n")); - DEBUG ((EFI_D_ERROR, "PlatformSsaInit() - SystemConfiguration->ISPDevSel 0x%x\n",SystemConfiguration->ISPDevSel)); - if(SystemConfiguration->ISPDevSel == 0x02) - { - // - // Device 3 Interrupt Route - // - MmioWrite16 ( - (ILB_BASE_ADDRESS + R_PCH_ILB_D3IR), - V_PCH_ILB_DXXIR_IAR_PIRQH // For IUNIT - ); - MmioRead16(ILB_BASE_ADDRESS + R_PCH_ILB_D3IR); // Read Posted Writes Register - DEBUG ((EFI_D_ERROR, "PlatformSsaInit() - Device 3 Interrupt Route Done\n")); - } - - // - // Device 2 Interrupt Route - // - MmioWrite16 ( - (ILB_BASE_ADDRESS + R_PCH_ILB_D2IR), - V_PCH_ILB_DXXIR_IAR_PIRQA // For IGD - ); - MmioRead16(ILB_BASE_ADDRESS + R_PCH_ILB_D2IR); // Read Posted Writes Register - DEBUG ((EFI_D_ERROR, "PlatformSsaInit() - Device 2 Interrupt Route Done\n")); - - return; -}