Reviewed-By: Zailiang Sun <zailiang....@intel.com> -----Original Message----- From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Michael D Kinney Sent: Monday, July 01, 2019 10:56 AM To: devel@edk2.groups.io Cc: Sun, Zailiang <zailiang....@intel.com>; Qian, Yi <yi.q...@intel.com> Subject: [edk2-devel] [edk2-platforms Patch 06/14] Vlv2TbltDevicePkg: Remove use of PS/2 Policy Protocol
This platform does not have a PS/2 controller, so remove all references to the PS/2 Policy Protocol. Cc: Zailiang Sun <zailiang....@intel.com> Cc: Yi Qian <yi.q...@intel.com> Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com> --- .../Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c b/Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c index cb280764b3..13d904b834 100644 --- a/Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c +++ b/Platform/Intel/Vlv2TbltDevicePkg/AcpiPlatform/AcpiPlatform.c @@ -37,7 +37,6 @@ Abstract: #include <Guid/BoardFeatures.h> #include <Protocol/AcpiSupport.h> #include <Protocol/AcpiS3Save.h> -#include <Protocol/Ps2Policy.h> #include <Library/CpuIA32.h> #include <SetupMode.h> #include <Guid/AcpiTableStorage.h> @@ -772,7 +771,6 @@ AcpiPlatformEntryPoint ( UINTN VarSize; UINTN SysCfgSize; EFI_HANDLE Handle; - EFI_PS2_POLICY_PROTOCOL *Ps2Policy; EFI_PEI_HOB_POINTERS GuidHob; EFI_MP_SERVICES_PROTOCOL *MpService; UINTN MaximumNumberOfCPUs; @@ -1131,19 +1129,6 @@ AcpiPlatformEntryPoint ( // mGlobalNvsArea.Area->WPCN381U = GLOBAL_NVS_DEVICE_DISABLE; mGlobalNvsArea.Area->DockedSioPresent = GLOBAL_NVS_DEVICE_DISABLE; - - // - // Get Ps2 policy to set. Will be use if present. - // - Status = gBS->LocateProtocol ( - &gEfiPs2PolicyProtocolGuid, - NULL, - (VOID **)&Ps2Policy - ); - if (!EFI_ERROR (Status)) { - Status = Ps2Policy->Ps2InitHardware (ImageHandle); - } - mGlobalNvsArea.Area->SDIOMode = mSystemConfiguration.LpssSdioMode; Handle = NULL; -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#43085): https://edk2.groups.io/g/devel/message/43085 Mute This Topic: https://groups.io/mt/32267621/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-