From: Sergey Matyukevich Date: Sun, 3 Dec 2017 21:48:10 +0000 (+0100) Subject: atf: add support for Marvell Armada SoCs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72123169266e3eb2aaa64b6332b2d7c77e03a113;p=buildroot.git atf: add support for Marvell Armada SoCs Add Marvell Armada 7k/8k SoCs support to arm-trusted-firmware package. Marvell ATF needs two additional dependencies: DDR training code and SCP_BL2 image. Signed-off-by: Sergey Matyukevich [Thomas: adjust to previous ATF changes.] Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/DEVELOPERS b/DEVELOPERS index c81808fa6d..77e3344fa4 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1520,6 +1520,7 @@ F: package/lua-resty-http/ F: package/mpir/ N: Sergey Matyukevich +F: boot/arm-trusted-firmware/ F: boot/binaries-marvell/ F: boot/mv-ddr-marvell/ F: board/linksprite/pcduino diff --git a/boot/arm-trusted-firmware/arm-trusted-firmware.mk b/boot/arm-trusted-firmware/arm-trusted-firmware.mk index 0aa7c9b492..e8d1c6205b 100644 --- a/boot/arm-trusted-firmware/arm-trusted-firmware.mk +++ b/boot/arm-trusted-firmware/arm-trusted-firmware.mk @@ -41,6 +41,16 @@ ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin ARM_TRUSTED_FIRMWARE_DEPENDENCIES += vexpress-firmware endif +ifeq ($(BR2_TARGET_BINARIES_MARVELL),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += binaries-marvell +endif + +ifeq ($(BR2_TARGET_MV_DDR_MARVELL),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += MV_DDR_PATH=$(MV_DDR_MARVELL_DIR) +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += mv-ddr-marvell +endif + ARM_TRUSTED_FIRMWARE_MAKE_TARGETS = all ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP),y)