1## @file
2# The EhcPeim driver is responsible for managing EHCI host controller at PEI phase.
3#
4# It produces gPeiUsb2HostControllerPpiGuid based on gPeiUsbControllerPpiGuid
5# which is used to enable recovery function from USB Drivers.
6#
7# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
8#
9# This program and the accompanying materials
10# are licensed and made available under the terms and conditions
11# of the BSD License which accompanies this distribution.  The
12# full text of the license may be found at
13# http://opensource.org/licenses/bsd-license.php
14#
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = EhciPei
23  MODULE_UNI_FILE                = EhciPei.uni
24  FILE_GUID                      = BAB4F20F-0981-4b5f-A047-6EF83BEEAB3C
25  MODULE_TYPE                    = PEIM
26  VERSION_STRING                 = 1.0
27
28  ENTRY_POINT                    = EhcPeimEntry
29
30#
31# The following information is for reference only and not required by the build tools.
32#
33#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
34#
35
36[Sources]
37  EhcPeim.c
38  EhcPeim.h
39  EhciUrb.c
40  EhciSched.c
41  UsbHcMem.c
42  EhciReg.h
43  EhciSched.h
44  EhciUrb.h
45  UsbHcMem.h
46
47
48[Packages]
49  MdePkg/MdePkg.dec
50  MdeModulePkg/MdeModulePkg.dec
51
52
53[LibraryClasses]
54  IoLib
55  TimerLib
56  BaseMemoryLib
57  PeimEntryPoint
58  PeiServicesLib
59
60
61[Ppis]
62  gPeiUsb2HostControllerPpiGuid                 ## PRODUCES
63  gPeiUsbControllerPpiGuid                      ## CONSUMES
64
65
66[Depex]
67  gEfiPeiMemoryDiscoveredPpiGuid AND gPeiUsbControllerPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid
68
69[UserExtensions.TianoCore."ExtraFiles"]
70  EhciPeiExtra.uni
71