From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Sat, 11 Oct 2014 16:40:46 +0100 Subject: [U-Boot] [PATCH v2 2/5] sunxi: Turn MMC_SUNXI_SLOT_EXTRA into a proper Kconfig option In-Reply-To: <1412618265-4053-3-git-send-email-hdegoede@redhat.com> References: <1412618265-4053-1-git-send-email-hdegoede@redhat.com> <1412618265-4053-3-git-send-email-hdegoede@redhat.com> Message-ID: <1413042046.11505.29.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 2014-10-06 at 19:57 +0200, Hans de Goede wrote: > 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 > --- > board/sunxi/Kconfig | 8 ++++++++ > board/sunxi/board.c | 2 +- > 2 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig > index 497b093..cb4a881 100644 > --- a/board/sunxi/Kconfig > +++ b/board/sunxi/Kconfig > @@ -32,6 +32,14 @@ config USB_KEYBOARD > Say Y here to add support for using a USB keyboard (typically used > in combination with a graphical console on HDMI). > > +config MMC_SUNXI_SLOT_EXTRA > + int "mmc extra slot number" > + default -1 > + ---help--- > + sunxi builds always enable mmc0, some boards also have a sdcard slot > + or emmc on mmc2 or mmc3. Setting this to 2 or 3 will enable support > + for this. What happened to mmc1? Regardless: Acked-by: Ian Campbell