Re: [U-Boot] [PATCH 1/2] Enable MMC boot on meson-gxbb.

2017-04-16 Thread Andreas Färber
Am 17.04.2017 um 00:01 schrieb Vagrant Cascadian:
> This enables booting from microSD and eMMC on odroid-c2 by using the
> distro_bootcmd MMC functions.
> 
> Signed-off-by: Vagrant Cascadian 
> ---
> 
>  include/configs/meson-gxbb-common.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/configs/meson-gxbb-common.h 
> b/include/configs/meson-gxbb-common.h
> index cc2b5b61d4..c3229ea2cf 100644
> --- a/include/configs/meson-gxbb-common.h
> +++ b/include/configs/meson-gxbb-common.h
> @@ -39,6 +39,8 @@
>  #include 
>  
>  #define BOOT_TARGET_DEVICES(func) \
> + func(MMC, mmc, 0) \
> + func(MMC, mmc, 1) \
>   func(DHCP, dhcp, na)
>  
>  #include 

There is already a different patch doing this, and by now adds mmc2 as
well. Please review the pending patches.

Thanks,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH 1/2] Enable MMC boot on meson-gxbb.

2017-04-16 Thread Vagrant Cascadian
This enables booting from microSD and eMMC on odroid-c2 by using the
distro_bootcmd MMC functions.

Signed-off-by: Vagrant Cascadian 
---

 include/configs/meson-gxbb-common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/meson-gxbb-common.h 
b/include/configs/meson-gxbb-common.h
index cc2b5b61d4..c3229ea2cf 100644
--- a/include/configs/meson-gxbb-common.h
+++ b/include/configs/meson-gxbb-common.h
@@ -39,6 +39,8 @@
 #include 
 
 #define BOOT_TARGET_DEVICES(func) \
+   func(MMC, mmc, 0) \
+   func(MMC, mmc, 1) \
func(DHCP, dhcp, na)
 
 #include 
-- 
2.11.0

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