[PATCH v2 1/3] riscv: bootstage: correct bootstage_report guard
Leo Liang
ycliang at andestech.com
Mon Sep 4 08:41:58 CEST 2023
On Mon, Aug 28, 2023 at 06:49:36PM +0900, Chanho Park wrote:
> Below warning can be occurred when CONFIG_BOOTSTAGE and
> !CONFIG_SPL_BOOTSTAGE. It should be guarded by using CONFIG_IS_ENABLED
> for SPL build.
>
> arch/riscv/lib/bootm.c:46:9: warning: implicit declaration of
> function 'bootstage_report'
> 46 | bootstage_report();
> | ^~~~~~~~~~~~~~~~
> | bootstage_error
>
> Signed-off-by: Chanho Park <chanho61.park at samsung.com>
> ---
> arch/riscv/lib/bootm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list