• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2# Component description file for Quark South Cluster Init driver.
3#
4# IohInit driver implement QuarkSCSocId related drivers, includes:
5# PciHostBridge, PciExpress, SmmAccess driver and LegacyRegion driver.
6#
7# This driver mainly do full initialization for the Soc 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-2015 Intel Corporation.
15#
16# This program and the accompanying materials
17# are licensed and made available under the terms and conditions of the BSD License
18# which accompanies this distribution.  The full text of the license may be found at
19# http://opensource.org/licenses/bsd-license.php
20#
21# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
22# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
23#
24##
25
26[Defines]
27  INF_VERSION                    = 0x00010005
28  BASE_NAME                      = IohInitDxe
29  FILE_GUID                      = 3FE2A8A3-C400-48F8-832F-7881A394C250
30  MODULE_TYPE                    = DXE_DRIVER
31  VERSION_STRING                 = 1.0
32  ENTRY_POINT                    = IohInit
33
34#
35# The following information is for reference only and not required by the build tools.
36#
37#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
38#
39
40[Sources]
41  IohInit.c
42  IohBds.h
43  IohData.c
44  CommonHeader.h
45
46[Packages]
47  MdePkg/MdePkg.dec
48  MdeModulePkg/MdeModulePkg.dec
49  QuarkSocPkg/QuarkSocPkg.dec
50
51[LibraryClasses]
52  S3BootScriptLib
53  PcdLib
54  HobLib
55  PciLib
56  BaseMemoryLib
57  MemoryAllocationLib
58  S3PciLib
59  UefiLib
60  DebugLib
61  UefiRuntimeServicesTableLib
62  UefiBootServicesTableLib
63  DxeServicesTableLib
64  UefiDriverEntryPoint
65  BaseLib
66  S3IoLib
67  IoLib
68  DevicePathLib
69  IohLib
70
71[Protocols]
72  gEfiPciRootBridgeIoProtocolGuid               # PROTOCOL ALWAYS_PRODUCED
73  gEfiDevicePathProtocolGuid                    # PROTOCOL ALWAYS_CONSUMED
74  gEfiPciIoProtocolGuid
75
76[Pcd]
77  gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohUartBusNumber
78  gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohUartDevNumber
79  gEfiQuarkSCSocIdTokenSpaceGuid.PcdIohUartFunctionNumber
80
81[Depex]
82  TRUE
83