]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/QNCInitDxe.inf
QuarkSocPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / QuarkSocPkg / QuarkNorthCluster / QNCInit / Dxe / QNCInitDxe.inf
1 ## @file
2 # Component description file for QNCInit driver.
3 #
4 # QNCInit driver implement QuarkNcSocId related drivers, includes:
5 # PciHostBridge, PciExpress, SmmAccess driver and LegacyRegion driver.
6 #
7 # This driver mainly do full initialization for the QNC chipet includes:
8 # 1. Initialize the PCI Express device.
9 # 2. Initialize the PciHostBridge, and allocate the I/O and memory space from GCD service.
10 # 3. Initialize the SmmAccess module and install EFI_SMM_ACCESS_PROTOCOL
11 # 4. Initialize the LegacyRegion module, install EFI_LEGACY_REGION_PROTOCOL and set below 1M
12 # memory attribute from MTRR.
13 #
14 # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
15 #
16 # SPDX-License-Identifier: BSD-2-Clause-Patent
17 #
18 ##
19
20 [Defines]
21 INF_VERSION = 0x00010005
22 BASE_NAME = QNCInitDxe
23 FILE_GUID = 74D3B506-EE9C-47ed-B749-41261401DA78
24 MODULE_TYPE = DXE_DRIVER
25 VERSION_STRING = 1.0
26 ENTRY_POINT = QNCInit
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64 EBC
32 #
33
34 [Sources]
35 LegacyRegion.h
36 LegacyRegion.c
37 DxeQNCSmbus.c
38 DxeQNCSmbus.h
39 QNCSmbusExec.c
40 QNCSmbus.h
41 QNCInit.c
42 QNCInit.h
43 CommonHeader.h
44 QNCRootPorts.c
45
46 [Packages]
47 MdePkg/MdePkg.dec
48 UefiCpuPkg/UefiCpuPkg.dec
49 QuarkSocPkg/QuarkSocPkg.dec
50
51 [LibraryClasses]
52 UefiDriverEntryPoint
53 BaseLib
54 UefiBootServicesTableLib
55 DxeServicesTableLib
56 BaseMemoryLib
57 DebugLib
58 PcdLib
59 MtrrLib
60 IoLib
61 SmbusLib
62 S3IoLib
63 S3BootScriptLib
64 IntelQNCLib
65 QNCAccessLib
66
67 [Protocols]
68 gEfiLegacyRegion2ProtocolGuid # PROTOCOL ALWAYS_PRODUCED
69 gEfiSmbusHcProtocolGuid # PROTOCOL ALWAYS_PRODUCED
70 gEfiQncS3SupportProtocolGuid # PROTOCOL ALWAYS_CONSUMED
71
72 [FeaturePcd]
73 gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmbaIoBaseAddressFixed
74
75 [FixedPcd]
76 gEfiQuarkNcSocIdTokenSpaceGuid.PcdIoApicBaseAddress
77 gEfiQuarkNcSocIdTokenSpaceGuid.PcdIoApicSize
78 gEfiQuarkNcSocIdTokenSpaceGuid.PcdHpetBaseAddress
79 gEfiQuarkNcSocIdTokenSpaceGuid.PcdHpetSize
80
81 [Pcd]
82 gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize ## CONSUMES
83 gUefiCpuPkgTokenSpaceGuid.PcdCpuS3DataAddress|0x0|UINT64|0x60000010 ## PRODUCES
84 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress ## CONSUMES
85 gEfiQuarkNcSocIdTokenSpaceGuid.PcdPciExpressSize ## CONSUMES
86 gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmbaIoBaseAddress
87 gEfiQuarkNcSocIdTokenSpaceGuid.PcdDeviceEnables
88 gEfiQuarkNcSocIdTokenSpaceGuid.PcdPlatformSmbusAddrNum
89 gEfiQuarkNcSocIdTokenSpaceGuid.PcdPlatformSmbusAddrTable
90
91 [Depex]
92 gEfiPlatformPolicyProtocolGuid AND gEfiQncS3SupportProtocolGuid