[U-Boot] [PATCH] 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 --- configs/orangepi_plus_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/configs/orangepi_plus_defconfig b/configs/orangepi_plus_defconfig index c4885f4..770bd98 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

Hi,
On Sun, Mar 20, 2016 at 9:21 PM, Hans de Goede hdegoede@redhat.com wrote:
This enables support for the eMMC found on the orangepi plus.
Signed-off-by: Hans de Goede hdegoede@redhat.com
configs/orangepi_plus_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/configs/orangepi_plus_defconfig b/configs/orangepi_plus_defconfig index c4885f4..770bd98 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
Does CONFIG_MMC2_PINS also need to be set?
ChenYu
# CONFIG_VIDEO is not set CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-orangepi-plus"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
2.7.3
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Hi,
On 21-03-16 07:05, Chen-Yu Tsai wrote:
Hi,
On Sun, Mar 20, 2016 at 9:21 PM, Hans de Goede hdegoede@redhat.com wrote:
This enables support for the eMMC found on the orangepi plus.
Signed-off-by: Hans de Goede hdegoede@redhat.com
configs/orangepi_plus_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/configs/orangepi_plus_defconfig b/configs/orangepi_plus_defconfig index c4885f4..770bd98 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
Does CONFIG_MMC2_PINS also need to be set?
No there only is one pinmux option for MMC2 on H8, so there is no need to set this.
Regards,
Hans

On Mon, 2016-03-21 at 22:46 +0100, Hans de Goede wrote:
Hi,
On 21-03-16 07:05, Chen-Yu Tsai wrote:
Hi,
On Sun, Mar 20, 2016 at 9:21 PM, Hans de Goede <hdegoede@redhat.com wrote:
This enables support for the eMMC found on the orangepi plus.
Signed-off-by: Hans de Goede hdegoede@redhat.com
configs/orangepi_plus_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/configs/orangepi_plus_defconfig
b/configs/orangepi_plus_defconfig
index c4885f4..770bd98 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
Does CONFIG_MMC2_PINS also need to be set?
No there only is one pinmux option for MMC2 on H8, so there is no need to set this.
Acked-by: Ian Campbell ijc@hellion.org.uk
participants (3)
-
Chen-Yu Tsai
-
Hans de Goede
-
Ian Campbell