mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
x86: Add a comment for board_init_f_r_trampoline()
Add a comment for this function in the header. Change the function (and the one after) to use __noreturn to keep checkpatch happy. Add docs to board_init_f_r() while we are here. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
b73dba7a83
commit
de94db8132
1 changed files with 14 additions and 2 deletions
|
@ -102,8 +102,20 @@ int video_bios_init(void);
|
|||
*/
|
||||
int fsp_save_s3_stack(void);
|
||||
|
||||
void board_init_f_r_trampoline(ulong) __attribute__ ((noreturn));
|
||||
void board_init_f_r(void) __attribute__ ((noreturn));
|
||||
/**
|
||||
* board_init_f_r_trampoline() - jump to relocated address with new stack
|
||||
*
|
||||
* @sp: New stack pointer to use
|
||||
*/
|
||||
void __noreturn board_init_f_r_trampoline(ulong sp);
|
||||
|
||||
/**
|
||||
* board_init_f_r() - jump to relocated U-Boot
|
||||
*
|
||||
* This is used to jump from pre-relocation to post-relocation U-Boot. It
|
||||
* enables the cache and jump to the new location.
|
||||
*/
|
||||
void __noreturn board_init_f_r(void);
|
||||
|
||||
int arch_misc_init(void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue