atf: add support for Marvell Armada SoCs
authorSergey Matyukevich <geomatsi@gmail.com>
Sun, 3 Dec 2017 21:48:10 +0000 (22:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 8 Dec 2017 18:00:53 +0000 (19:00 +0100)
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 <geomatsi@gmail.com>
[Thomas: adjust to previous ATF changes.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
DEVELOPERS
boot/arm-trusted-firmware/arm-trusted-firmware.mk

index c81808fa6daaec7171fb5f68fd6c384bd6da4b3f..77e3344fa4dc143290c8e7ecf7d322c03245ec06 100644 (file)
@@ -1520,6 +1520,7 @@ F:        package/lua-resty-http/
 F:     package/mpir/
 
 N:     Sergey Matyukevich <geomatsi@gmail.com>
+F:     boot/arm-trusted-firmware/
 F:     boot/binaries-marvell/
 F:     boot/mv-ddr-marvell/
 F:     board/linksprite/pcduino
index 0aa7c9b4926c1718d0cbbddf4d9f7e59540f5c2e..e8d1c6205b425d1585c60b192e5c0cd578ba92ce 100644 (file)
@@ -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)