PL180 on TC2 has a dependency on gEfiCpuArchProtocolGuid. Without adding the dependency, TC2 will crash in the PL180 driver. This problem has been present sinced340ef7
when TC2 stopped booting. However, it was masked by300fc77
which prevented PL180 from running on TC2 due to TC2 using a version on PL180 newer than that documented publicly. [1] https://github.com/tianocore/edk2/commit/d340ef7 2014-08-26 ArmPkg/ArmArchTimerLib: Remove non required [depex] and IoLib [2] https://github.com/tianocore/edk2/commit/300fc77 2015-08-25 ArmPlatformPkg/PL180MciDxe: check PrimeCell ID before initializing Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
53 lines
1.4 KiB
INI
53 lines
1.4 KiB
INI
#/** @file
|
|
# INF file for the MMC Host Protocol implementation for the ARM PrimeCell PL180.
|
|
#
|
|
# Copyright (c) 2011, ARM Limited. All rights reserved.
|
|
#
|
|
# This program and the accompanying materials
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
#
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
#
|
|
#**/
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = PL180MciDxe
|
|
FILE_GUID = 09831032-6fa3-4484-af4f-0a000a8d3a82
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = PL180MciDxeInitialize
|
|
|
|
[Sources.common]
|
|
PL180Mci.c
|
|
|
|
[Packages]
|
|
ArmPlatformPkg/ArmPlatformPkg.dec
|
|
EmbeddedPkg/EmbeddedPkg.dec
|
|
MdePkg/MdePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseLib
|
|
UefiLib
|
|
UefiDriverEntryPoint
|
|
BaseMemoryLib
|
|
ArmLib
|
|
IoLib
|
|
TimerLib
|
|
|
|
[Protocols]
|
|
gEfiCpuArchProtocolGuid
|
|
gEfiDevicePathProtocolGuid
|
|
gEfiMmcHostProtocolGuid
|
|
|
|
[Pcd]
|
|
gArmPlatformTokenSpaceGuid.PcdPL180SysMciRegAddress
|
|
gArmPlatformTokenSpaceGuid.PcdPL180MciBaseAddress
|
|
|
|
[Depex]
|
|
gEfiCpuArchProtocolGuid
|