macchiatobin-doubleshot: fix u-boot/atf build: export SCP_BL2 had been wrongly converted to declare -g SCP_BL2 when it is in fact required; fixes #5116

This commit is contained in:
Ricardo Pardini 2023-04-30 16:08:49 +02:00 committed by igorpecovnik
parent 30737fa6f4
commit ab0eb4936d

View File

@ -37,7 +37,7 @@ else
fi
if [[ $BOARD = macchiatobin-doubleshot ]]; then
declare -g SCP_BL2=$SRC/cache/sources/marvell-binaries/mrvl_scp_bl2.img
export SCP_BL2=$SRC/cache/sources/marvell-binaries/mrvl_scp_bl2.img # ATTENTION! This is actually a required 'export', since it's picked up by ATF's make.
ATF_TARGET_MAP="USE_COHERENT_MEM=0 LOG_LEVEL=20 MV_DDR_PATH=$SRC/cache/sources/marvell-ddr SECURE=0 PLAT=a80x0_mcbin;;build/a80x0_mcbin/release/bl31.bin"
UBOOT_TARGET_MAP="DEVICE_TREE=armada-8040-mcbin ;;flash-image.bin"