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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user