diff mbox

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

Message ID 20170416220133.31043-2-vagrant@debian.org
State Deferred
Delegated to: Minkyu Kang
Headers show

Commit Message

Vagrant Cascadian April 16, 2017, 10:01 p.m. UTC
This enables booting from microSD and eMMC on odroid-c2 by using the
distro_bootcmd MMC functions.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
---

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

Comments

Andreas Färber April 16, 2017, 10:02 p.m. UTC | #1
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 <vagrant@debian.org>
> ---
> 
>  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 <config_distro_defaults.h>
>  
>  #define BOOT_TARGET_DEVICES(func) \
> +	func(MMC, mmc, 0) \
> +	func(MMC, mmc, 1) \
>  	func(DHCP, dhcp, na)
>  
>  #include <config_distro_bootcmd.h>

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

Thanks,
Andreas
diff mbox

Patch

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 <config_distro_defaults.h>
 
 #define BOOT_TARGET_DEVICES(func) \
+	func(MMC, mmc, 0) \
+	func(MMC, mmc, 1) \
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>