diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-10-18 18:55:57 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-05-09 10:39:27 -0600 |
commit | f183d2c56ba79360e15ff90be6a3bae3ccdb9201 (patch) | |
tree | b7a7147c807486b7c37224233b87592ccb886fa0 | |
parent | ffd5d9cc2720f225fc6e8fa557cb3487965b7067 (diff) |
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.
Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/x86/include/asm/cpu.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index 5d24c17f8a3..1217cebb9b9 100644 --- a/arch/x86/include/asm/cpu.h +++ b/arch/x86/include/asm/cpu.h @@ -267,7 +267,20 @@ u32 cpu_get_family_model(void); */ u32 cpu_get_stepping(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 |