Convert CONFIG_SPL_BOARD_INIT to Kconfig
[platform/kernel/u-boot.git] / common / spl / Kconfig
index e324e24..92b476e 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
@@ -374,7 +382,7 @@ config SPL_LIBGENERIC_SUPPORT
 
 config SPL_MMC_SUPPORT
        bool "Support MMC"
-       depends on SPL && GENERIC_MMC
+       depends on SPL && MMC
        help
          Enable support for MMC (Multimedia Card) within SPL. This enables
          the MMC protocol implementation and allows any enabled drivers to
@@ -743,7 +751,7 @@ config TPL_MPC8XXX_INIT_DDR_SUPPORT
 
 config TPL_MMC_SUPPORT
        bool "Support MMC"
-       depends on TPL
+       depends on TPL && MMC
        help
          Enable support for MMC within TPL. See SPL_MMC_SUPPORT for details.