diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk index 5472a327e..7bd2a1dae 100644 --- a/plat/arm/board/fvp/platform.mk +++ b/plat/arm/board/fvp/platform.mk @@ -372,6 +372,15 @@ HW_CONFIG := ${FVP_HW_CONFIG} # Set default initrd base 128MiB offset of the default kernel address in FVP INITRD_BASE ?= 0x90000000 +# Kernel base address supports Linux kernels before v5.7 +# DTB base 1MiB before normal base kernel address in FVP (0x88000000) +ifeq (${ARM_LINUX_KERNEL_AS_BL33},1) + PRELOADED_BL33_BASE ?= 0x80080000 + ifeq (${RESET_TO_BL31},1) + ARM_PRELOADED_DTB_BASE ?= 0x87F00000 + endif +endif + ifeq (${TRANSFER_LIST}, 0) FDT_SOURCES += $(addprefix plat/arm/board/fvp/fdts/, \ ${PLAT}_fw_config.dts \