diff options
| author | Patrice Chotard <[email protected]> | 2026-08-18 17:11:52 +0200 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2026-09-02 13:48:57 +0200 |
| commit | 036aca606c77908290913ebf57cafc42d8524f67 (patch) | |
| tree | 8be9920dfb26d05b09b98c3fcc8ba1a472983db6 | |
| parent | cc8c034e78eba6b2a3845783889b80753bb1af1e (diff) | |
board: st: Fix compilation issue
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 <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
| -rw-r--r-- | board/st/common/stm32mp_fwu.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <[email protected]> */ +#include <env.h> #include <fwu.h> #include <part_efi.h> #include <asm/io.h> +#include <asm/arch/stm32.h> /** * fwu_plat_get_bootidx() - Get the value of the boot index * @boot_idx: Boot index value |
