diff options
author | Philippe Reynes <philippe.reynes@softathome.com> | 2019-09-19 16:18:39 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-11 10:09:17 -0400 |
commit | a9a3aadaddb4b968eb7133132a73646fc12ca39f (patch) | |
tree | 40bd526fc63425553858f6d64e0aec2f910067fa /common/spl/Kconfig | |
parent | 84a527bd0907ec66e5cccd81ce641d24a726a5f0 (diff) | |
download | u-boot-a9a3aadaddb4b968eb7133132a73646fc12ca39f.tar.gz |
spl: add a generic function board_init_f
This commit add a generic function board_init_f that
only initialize some device (for example serial). It
avoid to define a board function only to launch the
serial configuration.
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'common/spl/Kconfig')
-rw-r--r-- | common/spl/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig index 92de9cd744..282d246ea3 100644 --- a/common/spl/Kconfig +++ b/common/spl/Kconfig @@ -25,6 +25,15 @@ config SPL_FRAMEWORK supports MMC, NAND and YMODEM and other methods loading of U-Boot and the Linux Kernel. If unsure, say Y. +config SPL_FRAMEWORK_BOARD_INIT_F + bool "Define a generic function board_init_f" + depends on SPL_FRAMEWORK + help + Define a generic function board_init_f that: + - initialize the spl (spl_early_init) + - initialize the serial (preloader_console_init) + Unless you want to provide your own board_init_f, you should say Y. + config SPL_SIZE_LIMIT hex "Maximum size of SPL image" depends on SPL |