From 036aca606c77908290913ebf57cafc42d8524f67 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Tue, 18 Aug 2026 17:11:52 +0200 Subject: board: st: Fix compilation issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch solves a STM32MP2 compilation issue in board/st/common/stm32mp_fwu.c when CONFIG_FWU_MULTI_BANK_UPDATE is activated : - error: ‘TAMP_FWU_BOOT_INFO_REG’ undeclared - error: ‘TAMP_FWU_BOOT_IDX_OFFSET’ undeclared - error: ‘TAMP_FWU_BOOT_IDX_MASK’ undeclared - error: implicit declaration of function ‘env_set’ Fixes: 4369c6a05035 ("board: st: factorize STM32MP FWU multi-bank support") Signed-off-by: Patrick Delaunay Signed-off-by: Patrice Chotard Reviewed-by: Patrick Delaunay --- board/st/common/stm32mp_fwu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/st/common/stm32mp_fwu.c b/board/st/common/stm32mp_fwu.c index ac7ca6bdca2..cff020a99bb 100644 --- a/board/st/common/stm32mp_fwu.c +++ b/board/st/common/stm32mp_fwu.c @@ -3,9 +3,11 @@ * Copyright (C) 2026 Amarula Solutions, Dario Binacchi */ +#include #include #include #include +#include /** * fwu_plat_get_bootidx() - Get the value of the boot index * @boot_idx: Boot index value -- cgit v1.3.1