Re: [U-Boot] [PATCH] sunxi: Enable support for the eMMC found on the orangepi plus

2016-03-22 Thread Ian Campbell
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  > wrote:
> >> This enables support for the eMMC found on the orangepi plus.
> >>
> >> Signed-off-by: Hans de Goede 
> >> ---
> >>   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 

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] sunxi: Enable support for the eMMC found on the orangepi plus

2016-03-21 Thread Hans de Goede

Hi,

On 21-03-16 07:05, Chen-Yu Tsai wrote:

Hi,

On Sun, Mar 20, 2016 at 9:21 PM, Hans de Goede  wrote:

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

Signed-off-by: Hans de Goede 
---
  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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] sunxi: Enable support for the eMMC found on the orangepi plus

2016-03-21 Thread Chen-Yu Tsai
Hi,

On Sun, Mar 20, 2016 at 9:21 PM, Hans de Goede  wrote:
> This enables support for the eMMC found on the orangepi plus.
>
> Signed-off-by: Hans de Goede 
> ---
>  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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] sunxi: Enable support for the eMMC found on the orangepi plus

2016-03-20 Thread Hans de Goede
This enables support for the eMMC found on the orangepi plus.

Signed-off-by: Hans de Goede 
---
 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
-- 
2.7.3

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot