]> git.sur5r.net Git - u-boot/blobdiff - common/spl/Kconfig
Convert CONFIG_SPL_BOARD_INIT to Kconfig
[u-boot] / common / spl / Kconfig
index 5ed3f19ac3a65bcbdd52e648e0d18ccd4ee5044f..92b476e945d4699a6019ce1fc598019057820649 100644 (file)
@@ -16,6 +16,14 @@ config SPL
        help
          If you want to build SPL as well as the normal image, say Y.
 
+config SPL_BOARD_INIT
+       depends on SPL
+       bool "Call board-specific initialization in SPL"
+       help
+         If this option is enabled, U-Boot will call the function
+         spl_board_init() from board_init_r(). This function should be
+         provided by the board.
+
 config SPL_RAW_IMAGE_SUPPORT
        bool "Support SPL loading and booting of RAW images"
        depends on SPL