mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-14 11:16:58 +02:00
arm: k3: Consolidate and silence k3_fit_atf.sh call
Buiding u-boot-spl-k3[_HS].its is currently unconditionally verbose about what it does. Change that by wrapping the call to k3_fit_atf.sh into a cmd, also using that chance to reduce duplicate lines of makefile code - only IS_HS=1 is different when CONFIG_TI_SECURE_DEVICE is on. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
58ad372c49
commit
dde9da82d6
@ -48,22 +48,23 @@ ALL-y += tiboot3.bin
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_ARM64
|
ifdef CONFIG_ARM64
|
||||||
|
|
||||||
ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
|
ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
|
||||||
SPL_ITS := u-boot-spl-k3_HS.its
|
SPL_ITS := u-boot-spl-k3_HS.its
|
||||||
$(SPL_ITS): FORCE
|
$(SPL_ITS): export IS_HS=1
|
||||||
IS_HS=1 \
|
|
||||||
$(srctree)/tools/k3_fit_atf.sh \
|
|
||||||
$(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) > $@
|
|
||||||
|
|
||||||
ALL-y += tispl.bin_HS
|
ALL-y += tispl.bin_HS
|
||||||
else
|
else
|
||||||
SPL_ITS := u-boot-spl-k3.its
|
SPL_ITS := u-boot-spl-k3.its
|
||||||
$(SPL_ITS): FORCE
|
ALL-y += tispl.bin
|
||||||
|
endif
|
||||||
|
|
||||||
|
quiet_cmd_k3_mkits = MKITS $@
|
||||||
|
cmd_k3_mkits = \
|
||||||
$(srctree)/tools/k3_fit_atf.sh \
|
$(srctree)/tools/k3_fit_atf.sh \
|
||||||
$(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) > $@
|
$(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) > $@
|
||||||
|
|
||||||
ALL-y += tispl.bin
|
$(SPL_ITS): FORCE
|
||||||
endif
|
$(call cmd,k3_mkits)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user