diff options
author | Chanho Park <chanho61.park@samsung.com> | 2023-08-29 10:20:14 +0900 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-09-05 10:53:51 +0800 |
commit | ef08687ea0e2b5d57a1df51e6613bc4263747943 (patch) | |
tree | 22d8ad93fb84a5320b7051a15141050d2f3db49e /include/spl.h | |
parent | f39e24496af503c7968cc5e15940701fdf2a0c5b (diff) | |
download | u-boot-ef08687ea0e2b5d57a1df51e6613bc4263747943.zip u-boot-ef08687ea0e2b5d57a1df51e6613bc4263747943.tar.gz u-boot-ef08687ea0e2b5d57a1df51e6613bc4263747943.tar.bz2 |
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 <chanho61.park@samsung.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r-- | include/spl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spl.h b/include/spl.h index 92bcaa9..93e9064 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 |