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>
This commit is contained in:
Chanho Park
2023-09-08 17:08:56 +09:00
committed by Tom Rini
parent 47e7f128c4
commit a60d9686f2
2 changed files with 5 additions and 5 deletions

View File

@@ -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.