mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-16 10:14:22 +02:00
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" "
|
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
|
# Components Section - list of all EDK II Modules needed by this Platform
|
||||||
|
@ -304,6 +304,9 @@ ArmJunoEntryPoint (
|
|||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Enable PCI enumeration
|
||||||
|
PcdSetBool (PcdPciDisableBusEnumeration, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
ArmPlatformPkg/ArmJunoPkg/ArmJuno.dec
|
ArmPlatformPkg/ArmJunoPkg/ArmJuno.dec
|
||||||
EmbeddedPkg/EmbeddedPkg.dec
|
EmbeddedPkg/EmbeddedPkg.dec
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
|
MdeModulePkg/MdeModulePkg.dec
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
AcpiLib
|
AcpiLib
|
||||||
@ -79,6 +80,7 @@
|
|||||||
|
|
||||||
[Pcd]
|
[Pcd]
|
||||||
gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths
|
gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths
|
||||||
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
|
||||||
|
|
||||||
[Depex]
|
[Depex]
|
||||||
# We depend on these protocols to create the default boot entries
|
# We depend on these protocols to create the default boot entries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user