diff options
| author | Chanho Park <[email protected]> | 2023-09-08 17:08:56 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-10-09 15:24:31 -0400 |
| commit | a60d9686f21fdf2549858ca0e728bcef545d73d2 (patch) | |
| tree | 1ca761047502fb6f6fa06ee15bd3a8550a4b4a06 /include/spl.h | |
| parent | 47e7f128c40c9bf856e76bf125e44522c99f3511 (diff) | |
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 <[email protected]>
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 f713363f8cd..7d30fb57dac 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. |
