[PATCH RFC v3 07/11] ti: j721e: Exclude makefile tiboot3.bin target for J721E

Neha Malcom Francis
2022-06-15T06:49:18Z

Intention of patch is to move the signing and packaging of tiboot3.bin
image for J721E to binman. So patch excludes tiboot3.bin target for
J721E.

The functionality of tools/k3_gen_x509_cert.sh has been replicated in
binman with the etype x509_cert. This can be used for J721E by binman.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
---
arch/arm/mach-k3/config.mk | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-k3/config.mk b/arch/arm/mach-k3/config.mk
index ed605adf39..d706d17788 100644
--- a/arch/arm/mach-k3/config.mk
+++ b/arch/arm/mach-k3/config.mk
@@ -46,6 +46,7 @@ INPUTS-y += sec-cfg.bin
endif
endif

+ifneq ($(CONFIG_TARGET_J721E_R5_EVM), y)
# tiboot3.bin is mandated by ROM and ROM only supports R5 boot.
# So restrict tiboot3.bin creation for CPU_V7R.
ifdef CONFIG_CPU_V7R
@@ -65,6 +66,8 @@ tiboot3.bin: image_check FORCE
INPUTS-y += tiboot3.bin
endif

+endif
+
ifdef CONFIG_ARM64

ifeq ($(CONFIG_SOC_K3_J721E),)
--
2.17.1