]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf
QuarkSocPkg: Add new package for Quark SoC X1000
[mirror_edk2.git] / QuarkSocPkg / QuarkSouthCluster / IohInit / Dxe / IohInitDxe.inf
diff --git a/QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf b/QuarkSocPkg/QuarkSouthCluster/IohInit/Dxe/IohInitDxe.inf
new file mode 100644 (file)
index 0000000..4ac1609
--- /dev/null
@@ -0,0 +1,82 @@
+## @file\r
+# Component description file for Quark South Cluster Init driver.\r
+#\r
+# IohInit driver implement QuarkSCSocId related drivers, includes:\r
+# PciHostBridge, PciExpress, SmmAccess driver and LegacyRegion driver.\r
+#\r
+# This driver mainly do full initialization for the Soc chipet includes:\r
+# 1. Initialize the PCI Express device.\r
+# 2. Initialize the PciHostBridge, and allocate the I/O and memory space from GCD service.\r
+# 3. Initialize the SmmAccess module and install EFI_SMM_ACCESS_PROTOCOL\r
+# 4. Initialize the LegacyRegion module, install EFI_LEGACY_REGION_PROTOCOL and set below 1M\r
+#    memory attribute from MTRR.\r
+#\r
+# Copyright (c) 2013-2015 Intel Corporation.\r
+#\r
+# This program and the accompanying materials\r
+# are licensed and made available under the terms and conditions of the BSD License\r
+# which accompanies this distribution.  The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = IohInitDxe\r
+  FILE_GUID                      = 3FE2A8A3-C400-48F8-832F-7881A394C250\r
+  MODULE_TYPE                    = DXE_DRIVER\r
+  VERSION_STRING                 = 1.0\r
+  ENTRY_POINT                    = IohInit\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#\r
+\r
+[Sources]\r
+  IohInit.c\r
+  IohBds.h\r
+  IohData.c\r
+  CommonHeader.h\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+  MdeModulePkg/MdeModulePkg.dec\r
+  QuarkSocPkg/QuarkSocPkg.dec\r
+\r
+[LibraryClasses]\r
+  S3BootScriptLib\r
+  PcdLib\r
+  HobLib\r
+  PciLib\r
+  BaseMemoryLib\r
+  MemoryAllocationLib\r
+  S3PciLib\r
+  UefiLib\r
+  DebugLib\r
+  UefiRuntimeServicesTableLib\r
+  UefiBootServicesTableLib\r
+  DxeServicesTableLib\r
+  UefiDriverEntryPoint\r
+  BaseLib\r
+  S3IoLib\r
+  IoLib\r
+  DevicePathLib\r
+  IohLib\r
+\r
+[Protocols]\r
+  gEfiPciRootBridgeIoProtocolGuid               # PROTOCOL ALWAYS_PRODUCED\r
+  gEfiDevicePathProtocolGuid                    # PROTOCOL ALWAYS_CONSUMED\r
+  gEfiPciIoProtocolGuid\r
+\r
+[Pcd]\r
+  gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohUartBusNumber\r
+  gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohUartDevNumber\r
+  gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohUartFunctionNumber\r
+\r
+[Depex]\r
+  TRUE\r