commit | 19f63618da7c3180ee0cd2972ffd2fc68ae06202 | [log] [tgz] |
---|---|---|
author | Chanho Park <chanho61.park@samsung.com> | Wed Sep 06 14:18:12 2023 +0900 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Wed Oct 04 17:55:17 2023 +0800 |
tree | 9e9c2c4c26a477d5bb5f1d1aaa883a3b63f4cc4b | |
parent | 06a54ed4683d5968ffa193bd77b6d2dbd96a0dcb [diff] |
riscv: bootstage: correct bootstage_report guard 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@samsung.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>