mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/ArmJunoPkg: Only enable PCI support on Juno R1
PCI support is only present on Juno R1. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Ronald Cron <Ronald.Cron@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17415 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1bb1f35f2e
commit
ad7d95ea48
|
@ -177,6 +177,10 @@
|
|||
#
|
||||
gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L" "
|
||||
|
||||
# Not all Juno platforms support PCI. This dynamic PCD disables or enable
|
||||
# PCI support.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration|TRUE
|
||||
|
||||
################################################################################
|
||||
#
|
||||
# Components Section - list of all EDK II Modules needed by this Platform
|
||||
|
|
|
@ -304,6 +304,9 @@ ArmJunoEntryPoint (
|
|||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
||||
// Enable PCI enumeration
|
||||
PcdSetBool (PcdPciDisableBusEnumeration, FALSE);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
ArmPlatformPkg/ArmJunoPkg/ArmJuno.dec
|
||||
EmbeddedPkg/EmbeddedPkg.dec
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
AcpiLib
|
||||
|
@ -79,6 +80,7 @@
|
|||
|
||||
[Pcd]
|
||||
gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
|
||||
|
||||
[Depex]
|
||||
# We depend on these protocols to create the default boot entries
|
||||
|
|
Loading…
Reference in New Issue