diff options
| author | Simon Glass <[email protected]> | 2023-09-26 08:14:20 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-10-06 14:38:12 -0400 |
| commit | 6371c47999ea78d00cf98028ced210bea8337711 (patch) | |
| tree | 6ce30d56e0267d7780be5d7d0b1994b76bb7a8b4 /include/spl.h | |
| parent | 6c2bdf5c1a2daec80019b43e52a8537e7cb93ba2 (diff) | |
spl: Drop #ifdefs for BOARD_INIT and watchdog
Avoid using the preprocessor for these checks.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/spl.h')
| -rw-r--r-- | include/spl.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/spl.h b/include/spl.h index 0fedddd00ef..ab06e32ebd9 100644 --- a/include/spl.h +++ b/include/spl.h @@ -707,9 +707,13 @@ int spl_early_init(void); */ int spl_init(void); -#ifdef CONFIG_SPL_BOARD_INIT +/* + * spl_board_init() - Do board-specific init in SPL + * + * If xPL_BOARD_INIT is enabled, this is called from board_init_r() before + * jumping to the next phase. + */ void spl_board_init(void); -#endif /** * spl_was_boot_source() - check if U-Boot booted from SPL |
