From: Hans de Goede <hdegoede@redhat.com>
Date: Sun, 20 Mar 2016 13:19:50 +0000 (+0100)
Subject: sunxi: Enable support for the eMMC found on the orangepi plus
X-Git-Tag: v2025.01-rc5-pxa1908~9817^2~7
X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=9284f3b452faa328fcc7e948c091598926d792ff;p=u-boot.git

sunxi: Enable support for the eMMC found on the orangepi plus

This enables support for the eMMC found on the orangepi plus.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
---

diff --git a/configs/orangepi_plus_defconfig b/configs/orangepi_plus_defconfig
index 6ecb30e488..08f291c41b 100644
--- a/configs/orangepi_plus_defconfig
+++ b/configs/orangepi_plus_defconfig
@@ -4,6 +4,8 @@ CONFIG_MACH_SUN8I_H3=y
 CONFIG_DRAM_CLK=672
 CONFIG_DRAM_ZQ=3881979
 CONFIG_DRAM_ODT_EN=y
+CONFIG_MMC0_CD_PIN="PF6"
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
 # CONFIG_VIDEO is not set
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set