From f183d2c56ba79360e15ff90be6a3bae3ccdb9201 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Fri, 18 Oct 2024 18:55:57 +0300 Subject: [PATCH] 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 Signed-off-by: Andy Shevchenko Reviewed-by: Simon Glass --- arch/x86/include/asm/cpu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.39.5