* [PATCH] arm: k3: Consolidate and silence k3_fit_atf.sh call
@ 2020-06-25 6:43 Jan Kiszka
2020-06-29 2:09 ` Lokesh Vutla
2020-06-29 2:12 ` Lokesh Vutla
0 siblings, 2 replies; 3+ messages in thread
From: Jan Kiszka @ 2020-06-25 6:43 UTC (permalink / raw)
To: u-boot
From: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
arch/arm/mach-k3/config.mk | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-k3/config.mk b/arch/arm/mach-k3/config.mk
index f6b63db349..f7afef610c 100644
--- a/arch/arm/mach-k3/config.mk
+++ b/arch/arm/mach-k3/config.mk
@@ -48,22 +48,23 @@ ALL-y += tiboot3.bin
endif
ifdef CONFIG_ARM64
+
ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
SPL_ITS := u-boot-spl-k3_HS.its
-$(SPL_ITS): FORCE
- IS_HS=1 \
- $(srctree)/tools/k3_fit_atf.sh \
- $(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) > $@
-
+$(SPL_ITS): export IS_HS=1
ALL-y += tispl.bin_HS
else
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 \
$(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) > $@
-ALL-y += tispl.bin
-endif
+$(SPL_ITS): FORCE
+ $(call cmd,k3_mkits)
endif
else
--
2.26.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] arm: k3: Consolidate and silence k3_fit_atf.sh call
2020-06-25 6:43 [PATCH] arm: k3: Consolidate and silence k3_fit_atf.sh call Jan Kiszka
@ 2020-06-29 2:09 ` Lokesh Vutla
2020-06-29 2:12 ` Lokesh Vutla
1 sibling, 0 replies; 3+ messages in thread
From: Lokesh Vutla @ 2020-06-29 2:09 UTC (permalink / raw)
To: u-boot
On 25/06/20 12:13 pm, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Thanks for cleaning ti up Jan. May be a small commit message would help.
Other that that:
Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
Thanks and regards,
Lokesh
> ---
> arch/arm/mach-k3/config.mk | 17 +++++++++--------
> 1 file changed, 9 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/mach-k3/config.mk b/arch/arm/mach-k3/config.mk
> index f6b63db349..f7afef610c 100644
> --- a/arch/arm/mach-k3/config.mk
> +++ b/arch/arm/mach-k3/config.mk
> @@ -48,22 +48,23 @@ ALL-y += tiboot3.bin
> endif
>
> ifdef CONFIG_ARM64
> +
> ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
> SPL_ITS := u-boot-spl-k3_HS.its
> -$(SPL_ITS): FORCE
> - IS_HS=1 \
> - $(srctree)/tools/k3_fit_atf.sh \
> - $(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) > $@
> -
> +$(SPL_ITS): export IS_HS=1
> ALL-y += tispl.bin_HS
> else
> 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 \
> $(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) > $@
>
> -ALL-y += tispl.bin
> -endif
> +$(SPL_ITS): FORCE
> + $(call cmd,k3_mkits)
> endif
>
> else
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] arm: k3: Consolidate and silence k3_fit_atf.sh call
2020-06-25 6:43 [PATCH] arm: k3: Consolidate and silence k3_fit_atf.sh call Jan Kiszka
2020-06-29 2:09 ` Lokesh Vutla
@ 2020-06-29 2:12 ` Lokesh Vutla
1 sibling, 0 replies; 3+ messages in thread
From: Lokesh Vutla @ 2020-06-29 2:12 UTC (permalink / raw)
To: u-boot
On 25/06/20 12:13 pm, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Thanks for cleaning it up Jan. May be a small commit message would be really useful.
Other than that:
Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
Thanks and regards,
Lokesh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-29 2:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-25 6:43 [PATCH] arm: k3: Consolidate and silence k3_fit_atf.sh call Jan Kiszka
2020-06-29 2:09 ` Lokesh Vutla
2020-06-29 2:12 ` Lokesh Vutla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.