Enable BINMAN when using Arm-Trusted-Firmware (ATF) to
generate FIT images.

Signed-off-by: Siew Chin Lim <elly.siew.chin....@intel.com>

---
v4
---
Adjust BINMAN sequence in code, sorted by alphabetical order.

v5
---
Revert all changes in Makefile for BINMAN:
(1) Remove target "fit-itb", directly use binman command to generate fit
(2) Do not skip binman for ARCH_SOCFPGA in default Makefile flow.
    Use "blob-ext" entry instead of "blob" in binman node in device tree,
    binman will report warning instead of error in default Makefile flow.
    So, it wouldn't fail the default compilation process.
---
 arch/arm/mach-socfpga/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 01f5a1fc41..4d4ff16337 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -33,6 +33,7 @@ config TARGET_SOCFPGA_AGILEX
        bool
        select ARMV8_MULTIENTRY
        select ARMV8_SET_SMPEN
+       select BINMAN if SPL_ATF
        select CLK
        select FPGA_INTEL_SDM_MAILBOX
        select NCORE_CACHE
@@ -78,6 +79,7 @@ config TARGET_SOCFPGA_STRATIX10
        bool
        select ARMV8_MULTIENTRY
        select ARMV8_SET_SMPEN
+       select BINMAN if SPL_ATF
        select FPGA_INTEL_SDM_MAILBOX
 
 choice
-- 
2.13.0

Reply via email to