diff options
author | Chanho Park <chanho61.park@samsung.com> | 2023-09-08 17:08:56 +0900 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-09 15:24:31 -0400 |
commit | a60d9686f21fdf2549858ca0e728bcef545d73d2 (patch) | |
tree | 1ca761047502fb6f6fa06ee15bd3a8550a4b4a06 /include/spl.h | |
parent | 47e7f128c40c9bf856e76bf125e44522c99f3511 (diff) | |
download | u-boot-a60d9686f21fdf2549858ca0e728bcef545d73d2.zip u-boot-a60d9686f21fdf2549858ca0e728bcef545d73d2.tar.gz u-boot-a60d9686f21fdf2549858ca0e728bcef545d73d2.tar.bz2 |
spl: add __noreturn attribute to spl_invoke_atf function
spl_invoke_atf function will not be returned to SPL. Thus, we need to
set __noreturn function attribute to the function.
Signed-off-by: Chanho Park <chanho61.park@samsung.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 f713363..7d30fb5 100644 --- a/include/spl.h +++ b/include/spl.h @@ -793,7 +793,7 @@ int spl_ymodem_load_image(struct spl_image_info *spl_image, /** * spl_invoke_atf - boot using an ARM trusted firmware image */ -void spl_invoke_atf(struct spl_image_info *spl_image); +void __noreturn spl_invoke_atf(struct spl_image_info *spl_image); /** * bl2_plat_get_bl31_params() - return params for bl31. |