+++ /dev/null
-## @file\r
-# Component description file for QNCInit driver.\r
-#\r
-# QNCInit driver implement QuarkNcSocId related drivers, includes:\r
-# PciHostBridge, PciExpress, SmmAccess driver and LegacyRegion driver.\r
-#\r
-# This driver mainly do full initialization for the QNC 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 - 2018, Intel Corporation. All rights reserved.<BR>\r
-#\r
-# SPDX-License-Identifier: BSD-2-Clause-Patent\r
-#\r
-##\r
-\r
-[Defines]\r
- INF_VERSION = 0x00010005\r
- BASE_NAME = QNCInitDxe\r
- FILE_GUID = 74D3B506-EE9C-47ed-B749-41261401DA78\r
- MODULE_TYPE = DXE_DRIVER\r
- VERSION_STRING = 1.0\r
- ENTRY_POINT = QNCInit\r
-\r
-#\r
-# The following information is for reference only and not required by the build tools.\r
-#\r
-# VALID_ARCHITECTURES = IA32 X64 EBC\r
-#\r
-\r
-[Sources]\r
- LegacyRegion.h\r
- LegacyRegion.c\r
- DxeQNCSmbus.c\r
- DxeQNCSmbus.h\r
- QNCSmbusExec.c\r
- QNCSmbus.h\r
- QNCInit.c\r
- QNCInit.h\r
- CommonHeader.h\r
- QNCRootPorts.c\r
-\r
-[Packages]\r
- MdePkg/MdePkg.dec\r
- UefiCpuPkg/UefiCpuPkg.dec\r
- QuarkSocPkg/QuarkSocPkg.dec\r
-\r
-[LibraryClasses]\r
- UefiDriverEntryPoint\r
- BaseLib\r
- UefiBootServicesTableLib\r
- DxeServicesTableLib\r
- BaseMemoryLib\r
- DebugLib\r
- PcdLib\r
- MtrrLib\r
- IoLib\r
- SmbusLib\r
- S3IoLib\r
- S3BootScriptLib\r
- IntelQNCLib\r
- QNCAccessLib\r
-\r
-[Protocols]\r
- gEfiLegacyRegion2ProtocolGuid # PROTOCOL ALWAYS_PRODUCED\r
- gEfiSmbusHcProtocolGuid # PROTOCOL ALWAYS_PRODUCED\r
- gEfiQncS3SupportProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
-\r
-[FeaturePcd]\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmbaIoBaseAddressFixed\r
-\r
-[FixedPcd]\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdIoApicBaseAddress\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdIoApicSize\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdHpetBaseAddress\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdHpetSize\r
-\r
-[Pcd]\r
- gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize ## CONSUMES\r
- gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress|0x0|UINT64|0x60000010 ## PRODUCES\r
- gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress ## CONSUMES\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdPciExpressSize ## CONSUMES\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmbaIoBaseAddress\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdDeviceEnables\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdPlatformSmbusAddrNum\r
- gEfiQuarkNcSocIdTokenSpaceGuid.PcdPlatformSmbusAddrTable\r
-\r
-[Depex]\r
- gEfiPlatformPolicyProtocolGuid AND gEfiQncS3SupportProtocolGuid\r