]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/ArmVExpress-FVP: add support for the Intel BDS
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 1 Sep 2015 17:29:14 +0000 (17:29 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Tue, 1 Sep 2015 17:29:14 +0000 (17:29 +0000)
This adds support for the Intel BDS and enables it by default.
To revert to using the ARM BDS, pass '-D USE_ARM_BDS' on the
build command line.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Tested-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18378 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc
ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf
ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc

index 3f363064b23f46c92e638f2c032c2830a4754da8..159194c8c7310d1cbb0c511fbdf52ce784a00e58 100644 (file)
   # Bds\r
   #\r
   MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
+!if $(USE_ARM_BDS) == TRUE\r
   ArmPlatformPkg/Bds/Bds.inf\r
+!else\r
+  MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
+  MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
+  IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
+!endif\r
index 1d92d6f34832315621eb1040a621fdd56db55245..2ab99e98c2387d341251be61c3d1e0ad1ceb0b90 100644 (file)
@@ -197,7 +197,20 @@ FvNameGuid         = 87940482-fc81-41c3-87e6-399cf85ac8a0
   # Bds\r
   #\r
   INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf\r
+!if $(USE_ARM_BDS) == TRUE\r
   INF ArmPlatformPkg/Bds/Bds.inf\r
+!else\r
+  INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf\r
+  INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf\r
+  INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf\r
+\r
+  #\r
+  # TianoCore logo (splash screen)\r
+  #\r
+  FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
+   SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
+  }\r
+!endif\r
 \r
   # Legacy Linux Loader\r
   INF ArmPkg/Application/LinuxLoader/LinuxLoader.inf\r
index dc69bbbf747c171397d49b1e86b6728f108fa0c1..03f8c2cd2160ecf0e0979e905aa8b8eff64647cd 100644 (file)
@@ -12,6 +12,9 @@
 #\r
 #\r
 \r
+[Defines]\r
+  USE_ARM_BDS         = FALSE\r
+\r
 [BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]\r
   GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000\r
 \r
   AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf\r
   VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
 \r
+!if $(USE_ARM_BDS) == FALSE\r
+  CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
+  GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf\r
+  PlatformBdsLib|ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf\r
+  CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf\r
+!endif\r
+\r
 [LibraryClasses.common.SEC]\r
   ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf\r
   ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf\r
   # Shell.\r
   gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
 \r
+!if $(USE_ARM_BDS) == FALSE\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE\r
+  gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }\r
+!endif\r
+\r
 [Components.common]\r
   MdeModulePkg/Universal/PCD/Dxe/Pcd.inf\r
 \r