From ef08687ea0e2b5d57a1df51e6613bc4263747943 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Tue, 29 Aug 2023 10:20:14 +0900 Subject: spl: add __noreturn attribute to spl_invoke_opensbi function spl_invoke_opensbi function is not returned to SPL. Thus, we need to set __noreturn function attribute. Signed-off-by: Chanho Park Reviewed-by: Leo Yu-Chi Liang --- include/spl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/spl.h b/include/spl.h index 92bcaa90a4a..93e906431e7 100644 --- a/include/spl.h +++ b/include/spl.h @@ -862,7 +862,7 @@ void __noreturn spl_optee_entry(void *arg0, void *arg1, void *arg2, void *arg3); /** * spl_invoke_opensbi - boot using a RISC-V OpenSBI image */ -void spl_invoke_opensbi(struct spl_image_info *spl_image); +void __noreturn spl_invoke_opensbi(struct spl_image_info *spl_image); /** * board_return_to_bootrom - allow for boards to continue with the boot ROM -- cgit v1.3.1