]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
x86: cpu: Describe board final hooks in the header
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Oct 2024 15:55:57 +0000 (18:55 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 9 May 2025 16:39:27 +0000 (10:39 -0600)
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>
arch/x86/include/asm/cpu.h

index 5d24c17f8a37c23e1395f12d477c368e11c9b97e..1217cebb9b901acd18dc95bfa9d9a010021aa865 100644 (file)
@@ -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