]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkPlatformPkg/Platform/Dxe/Setup/SetupPlatform.c
edk2: Remove packages moved to edk2-platforms
[mirror_edk2.git] / QuarkPlatformPkg / Platform / Dxe / Setup / SetupPlatform.c
diff --git a/QuarkPlatformPkg/Platform/Dxe/Setup/SetupPlatform.c b/QuarkPlatformPkg/Platform/Dxe/Setup/SetupPlatform.c
deleted file mode 100644 (file)
index 7e36fdf..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/** @file\r
-Platform Initialization Driver.\r
-\r
-Copyright (c) 2013-2015 Intel Corporation.\r
-\r
-SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#include "CommonHeader.h"\r
-\r
-#include "SetupPlatform.h"\r
-#include <Library/HobLib.h>\r
-\r
-EFI_HANDLE            mImageHandle = NULL;\r
-\r
-EFI_HII_DATABASE_PROTOCOL        *mHiiDataBase = NULL;\r
-EFI_HII_CONFIG_ROUTING_PROTOCOL  *mHiiConfigRouting = NULL;\r
-\r
-UINT8                    mSmbusRsvdAddresses[PLATFORM_NUM_SMBUS_RSVD_ADDRESSES] = {\r
-  SMBUS_ADDR_CH_A_1,\r
-  SMBUS_ADDR_CK505,\r
-  SMBUS_ADDR_THERMAL_SENSOR1,\r
-  SMBUS_ADDR_THERMAL_SENSOR2\r
-};\r
-\r
-EFI_PLATFORM_POLICY_PROTOCOL    mPlatformPolicyData = {\r
-  PLATFORM_NUM_SMBUS_RSVD_ADDRESSES,\r
-  mSmbusRsvdAddresses\r
-};\r
-\r
-EFI_STATUS\r
-DxePlatformDriverEntry (\r
-  IN EFI_HANDLE         ImageHandle,\r
-  IN EFI_SYSTEM_TABLE   *SystemTable\r
-  )\r
-/*++\r
-\r
-  Routine Description:\r
-    This is the standard EFI driver point for the D845GRgPlatform Driver. This\r
-    driver is responsible for setting up any platform specific policy or\r
-    initialization information.\r
-\r
-  Arguments:\r
-    ImageHandle     - Handle for the image of this driver\r
-    SystemTable     - Pointer to the EFI System Table\r
-\r
-  Returns:\r
-    EFI_SUCCESS     - Policy decisions set\r
-\r
---*/\r
-{\r
-  EFI_STATUS                  Status;\r
-  EFI_HANDLE                  Handle;\r
-\r
-  S3BootScriptSaveInformationAsciiString (\r
-    "SetupDxeEntryBegin"\r
-    );\r
-\r
-  mImageHandle = ImageHandle;\r
-\r
-  Status = gBS->LocateProtocol (&gEfiHiiDatabaseProtocolGuid, NULL, (VOID**)&mHiiDataBase);\r
-  ASSERT_EFI_ERROR (Status);\r
-\r
-  Status = gBS->LocateProtocol (&gEfiHiiConfigRoutingProtocolGuid, NULL, (VOID**)&mHiiConfigRouting);\r
-  ASSERT_EFI_ERROR (Status);\r
-\r
-  //\r
-  // Initialize keyboard layout\r
-  //\r
-  Status = InitKeyboardLayout ();\r
-\r
-  //\r
-  // Initialize ICH registers\r
-  //\r
-  PlatformInitQNCRegs();\r
-\r
-  ProducePlatformCpuData ();\r
-\r
-  //\r
-  // Install protocol to to allow access to this Policy.\r
-  //\r
-  Handle = NULL;\r
-  Status = gBS->InstallMultipleProtocolInterfaces (\r
-                  &Handle,\r
-                  &gEfiPlatformPolicyProtocolGuid, &mPlatformPolicyData,\r
-                  NULL\r
-                  );\r
-  ASSERT_EFI_ERROR(Status);\r
-\r
-  S3BootScriptSaveInformationAsciiString (\r
-    "SetupDxeEntryEnd"\r
-    );\r
-\r
-  return EFI_SUCCESS;\r
-}\r
-\r