mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg/ArmVExpress-FVP: add support for the Intel BDS
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
This commit is contained in:
parent
a680d52f4f
commit
f46ac5fb69
|
@ -305,4 +305,10 @@
|
||||||
# Bds
|
# Bds
|
||||||
#
|
#
|
||||||
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
||||||
|
!if $(USE_ARM_BDS) == TRUE
|
||||||
ArmPlatformPkg/Bds/Bds.inf
|
ArmPlatformPkg/Bds/Bds.inf
|
||||||
|
!else
|
||||||
|
MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
||||||
|
MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
||||||
|
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
||||||
|
!endif
|
||||||
|
|
|
@ -197,7 +197,20 @@ FvNameGuid = 87940482-fc81-41c3-87e6-399cf85ac8a0
|
||||||
# Bds
|
# Bds
|
||||||
#
|
#
|
||||||
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
||||||
|
!if $(USE_ARM_BDS) == TRUE
|
||||||
INF ArmPlatformPkg/Bds/Bds.inf
|
INF ArmPlatformPkg/Bds/Bds.inf
|
||||||
|
!else
|
||||||
|
INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
|
||||||
|
INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
|
||||||
|
INF IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
|
||||||
|
|
||||||
|
#
|
||||||
|
# TianoCore logo (splash screen)
|
||||||
|
#
|
||||||
|
FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {
|
||||||
|
SECTION RAW = MdeModulePkg/Logo/Logo.bmp
|
||||||
|
}
|
||||||
|
!endif
|
||||||
|
|
||||||
# Legacy Linux Loader
|
# Legacy Linux Loader
|
||||||
INF ArmPkg/Application/LinuxLoader/LinuxLoader.inf
|
INF ArmPkg/Application/LinuxLoader/LinuxLoader.inf
|
||||||
|
|
|
@ -12,6 +12,9 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
[Defines]
|
||||||
|
USE_ARM_BDS = FALSE
|
||||||
|
|
||||||
[BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]
|
[BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]
|
||||||
GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
|
GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
|
||||||
|
|
||||||
|
@ -132,6 +135,13 @@
|
||||||
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
|
AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf
|
||||||
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
|
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
|
||||||
|
|
||||||
|
!if $(USE_ARM_BDS) == FALSE
|
||||||
|
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
|
||||||
|
GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
|
||||||
|
PlatformBdsLib|ArmPlatformPkg/Library/PlatformIntelBdsLib/PlatformIntelBdsLib.inf
|
||||||
|
CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf
|
||||||
|
!endif
|
||||||
|
|
||||||
[LibraryClasses.common.SEC]
|
[LibraryClasses.common.SEC]
|
||||||
ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
|
ArmPlatformSecExtraActionLib|ArmPlatformPkg/Library/DebugSecExtraActionLib/DebugSecExtraActionLib.inf
|
||||||
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
|
ArmPlatformGlobalVariableLib|ArmPlatformPkg/Library/ArmPlatformGlobalVariableLib/Sec/SecArmPlatformGlobalVariableLib.inf
|
||||||
|
@ -398,6 +408,11 @@
|
||||||
# Shell.
|
# Shell.
|
||||||
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
||||||
|
|
||||||
|
!if $(USE_ARM_BDS) == FALSE
|
||||||
|
gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
|
||||||
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
|
||||||
|
!endif
|
||||||
|
|
||||||
[Components.common]
|
[Components.common]
|
||||||
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue