x86: cpu: Describe board final hooks in the header
PATCH 1/1 x86: cpu: Describe board final hooks in the header
The new two declarations board_final_init() and board_final_cleanup() need a description. Add it here.
--- arch/x86/include/asm/cpu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/x86/include/asm/cpu.h +13 -0
@@ -298,7 +298,20 @@ u32 cpu_get_stepping(void);*/ int cpu_phys_address_size (void ); +/** +* board_final_init() - Final initialization hook (optional) +* +* Implements a custom initialization for boards that need to do it +* before the system is ready. +*/ void board_final_init (void ); + +/** +* board_final_cleanup() - Final cleanup hook (optional) +* +* Implements a custom cleanup for boards that need to do it before +* booting the OS. +*/ void board_final_cleanup (void );#ifndef CONFIG_EFI_STUB
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
Quoted 10 lines · Andy Shevchenko
The new two declarations
board_final_init()andboard_final_cleanup()need a description. Add it here.Suggested-by Simon Glass <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- arch/x86/include/asm/cpu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Quoted 28 lines
arch/x86/include/asm/cpu.h +13
-1@@ -298,7 +298,20 @@ u32 cpu_get_stepping(void);*/ int cpu_phys_address_size (void ); +/** +* board_final_init() - Final initialization hook (optional) +* +* Implements a custom initialization for boards that need to do it +* before the system is ready. +*/ void board_final_init (void ); + +/** +* board_final_cleanup() - Final cleanup hook (optional) +* +* Implements a custom cleanup for boards that need to do it before +* booting the OS. +*/ void board_final_cleanup (void );#ifndef CONFIG_EFI_STUB --2.43.0.rc1.1336.g36b5255a03ac
Quoted 6 lines · Simon Glass
Quoted 4 lines · Andy Shevchenko
The new two declarations
board_final_init()andboard_final_cleanup()need a description. Add it here.
Quoted 8 lines
Quoted 6 lines
Suggested-by Simon Glass <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- arch/x86/include/asm/cpu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)Reviewed-by Simon Glass <[email protected]>
What's the status of this?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 14 lines · Andy Shevchenko
Quoted 13 lines · Simon Glass
Quoted 10 lines · Andy Shevchenko
The new two declarations
board_final_init()andboard_final_cleanup()need a description. Add it here.Suggested-by Simon Glass <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>--- arch/x86/include/asm/cpu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Quoted 3 lines
Quoted 1 line
Reviewed-by Simon Glass <[email protected]>What's the status of this?
I haven't heard from Bin in a while, so I guess I should go and pickup the outstanding patches. Thanks for the reminder.
Signature · 1 line
Tom
Quoted 6 lines · Andy Shevchenko
The new two declarations
board_final_init()andboard_final_cleanup()need a description. Add it here.Suggested-by Simon Glass <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom