Skip to contentSkip to conversation

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

PATCH New Hans de Goede 3 participants 4 messages Mar 20, 2016 – Mar 22, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: Enable support for the eMMC found on the orangepi plus

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

---
 configs/orangepi_plus_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/orangepi_plus_defconfig +2 -0
index c4885f4..770bd98 100644
@@ -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
Signature · 1 line
2.7.3
#1 lore raw

PATCH 1/1 sunxi: Enable support for the eMMC found on the orangepi plus

Hi,

Quoted 12 lines · Hans de Goede

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

---
 configs/orangepi_plus_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/orangepi_plus_defconfig +0 -0
index c4885f4..770bd98 100644

configs/orangepi_plus_defconfig CONFIG_MACH_SUN8I_H3=y · line 8

Quoted 5 lines
configs/orangepi_plus_defconfig +2 -0
@@ -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

Quoted 10 lines
configs/orangepi_plus_defconfig +0 -1
 # 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 at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

#2 lore raw

PATCH 1/1 sunxi: Enable support for the eMMC found on the orangepi plus

Hi,

Quoted 10 lines · Chen-Yu Tsai

Hi,

Quoted 7 lines · Hans de Goede

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

---
  configs/orangepi_plus_defconfig | 2 ++
  1 file changed, 2 insertions(+)
Quoted 12 lines

configs/orangepi_plus_defconfig CONFIG_MACH_SUN8I_H3=y · line 8

Quoted 10 lines
configs/orangepi_plus_defconfig +2 -0
index c4885f4..770bd98 100644
@@ -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

#3 lore raw

PATCH 1/1 sunxi: Enable support for the eMMC found on the orangepi plus

Quoted 28 lines · Hans de Goede

Hi,

Quoted 4 lines · Chen-Yu Tsai

Hi,

On Sun, Mar 20, 2016 at 9:21 PM, Hans de Goede <[email protected] wrote:

Quoted 8 lines

Review

Quoted 8 lines

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

---
???configs/orangepi_plus_defconfig | 2 ++
???1 file changed, 2 insertions(+)

(quoted diff) +0 -0

b/configs/orangepi_plus_defconfig

Quoted 11 lines

configs/orangepi_plus_defconfig CONFIG_MACH_SUN8I_H3=y · line 8

Quoted 9 lines

index c4885f4..770bd98 100644

configs/orangepi_plus_defconfig +0 -0
@@ -4,6 +4,8 @@ CONFIG_MACH_SUN8I_H3=y

???CONFIG_DRAM_CLK=672
???CONFIG_DRAM_ZQ=3881979
???CONFIG_DRAM_ODT_EN=y

configs/orangepi_plus_defconfig +2 -0
+CONFIG_MMC0_CD_PIN="PF6"
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2

Does CONFIG_MMC2_PINS also need to be set?

Quoted 2 lines

No there only is one pinmux option for MMC2 on H8, so there is no need to set this.