From 037fcddc5ee6581988cc70e84395bc5f1b279724 Mon Sep 17 00:00:00 2001 From: Tero Kristo Date: Tue, 8 Jun 2021 09:05:59 +0300 Subject: [PATCH] arm: mach-k3: compile fix for HS boards Fix compile error introduced by HSM rearch for HS boards. Signed-off-by: Tero Kristo --- arch/arm/mach-k3/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c index 2b8c09a650..5079b390ba 100644 --- a/arch/arm/mach-k3/common.c +++ b/arch/arm/mach-k3/common.c @@ -266,6 +266,7 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image) void board_fit_image_post_process(const void *fit, int node, void **p_image, size_t *p_size) { +#ifdef CONFIG_SYS_K3_SPL_ATF int len; int i; const char *os; @@ -285,6 +286,7 @@ void board_fit_image_post_process(const void *fit, int node, void **p_image, break; } } +#endif #ifdef CONFIG_TI_SECURE_DEVICE ti_secure_image_post_process(p_image, p_size); -- 2.17.1