summaryrefslogtreecommitdiff
path: root/board/sunxi/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-10-02 20:43:50 +0200
committerHans de Goede <hdegoede@redhat.com>2014-10-24 09:35:38 +0200
commit2ccfac01fca3c58ee87db7bbe54c8243e3980d02 (patch)
tree9ac390b4a4eba9dfebecba43d3825cf329a41f3e /board/sunxi/Kconfig
parentcd82113a98e152b34e727718b729d0c5be44da99 (diff)
downloadu-boot-imx-2ccfac01fca3c58ee87db7bbe54c8243e3980d02.zip
u-boot-imx-2ccfac01fca3c58ee87db7bbe54c8243e3980d02.tar.gz
u-boot-imx-2ccfac01fca3c58ee87db7bbe54c8243e3980d02.tar.bz2
sunxi: Turn MMC_SUNXI_SLOT_EXTRA into a proper Kconfig option
Note we also drop the SPL check for initializing the 2nd mmc slot, the SPL check is not necessary with Kconfig, because only options explicitly marked as also being for the SPL get set during SPL builds. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi/Kconfig')
-rw-r--r--board/sunxi/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 63188dd..552fce8 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -67,4 +67,12 @@ config MMC3_CD_PIN
---help---
See MMC0_CD_PIN help text.
+config MMC_SUNXI_SLOT_EXTRA
+ int "mmc extra slot number"
+ default -1
+ ---help---
+ sunxi builds always enable mmc0, some boards also have a second sdcard
+ slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
+ support for this.
+
endif