diff options
author | Ronald Cron <Ronald.Cron@arm.com> | 2015-02-26 10:56:20 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-02-26 10:56:20 +0000 |
commit | cae7af275ed6bc8873fb5469b861f37b59685e07 (patch) | |
tree | 79f6d86c7cf784db69c2a82184a8b1b3602eff00 /ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc | |
parent | 04f1a7096adf2fc5fd6d70e37a9a4a8e47dfa4d1 (diff) | |
download | edk2-platforms-cae7af275ed6bc8873fb5469b861f37b59685e07.tar.xz |
ArmPlatformPkg/ArmJunoPkg : Use FdtPlatformDxe driver to install the FDT
Remove the installation of the FDT for Juno into the UEFI Configuration
Table from the Juno specific DXE driver. Use the FdtPlatformDxe driver to
do it instead.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <Ronald.Cron@arm.com>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16938 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc')
-rw-r--r-- | ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc b/ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc index a223010561..1639bf4269 100644 --- a/ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc +++ b/ArmPlatformPkg/ArmJunoPkg/ArmJuno.dsc @@ -77,6 +77,11 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|TRUE
+ #
+ # FDT installation : enable the development specific features
+ #
+ gEmbeddedTokenSpaceGuid.PcdOverridePlatformFdt|TRUE
+
[PcdsFixedAtBuild.common]
gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Juno"
gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ArmJuno"
@@ -128,6 +133,22 @@ gArmPlatformTokenSpaceGuid.PcdBootMonFsSupportedDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)"
#
+ # Define the device path to the FDT for its installation
+ #
+!ifdef $(JUNO_EMULATOR)
+ # From DRAM
+ gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L"VenHw(30F57E4A-69CE-4FB7-B7A1-4C7CE49D57A6)/MemoryMapped(0x0,0x88000000,0x88200000)"
+!else
+!ifdef $(JUNO_MODEL)
+ # From semi-hosting
+ gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L"VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)/juno.dtb"
+!else
+ # From NOR flash
+ gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L"VenHw(E7223039-5836-41E1-B542-D7EC736C5E59)/juno.dtb"
+!endif
+!endif
+
+ #
# ARM OS Loader
#
gArmPlatformTokenSpaceGuid.PcdDefaultBootDescription|L"Linux from NOR Flash"
|