[U-Boot] [PATCH v7,4/4] odroid-c2: enable MMC as boot target

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Apr 14 10:27:03 UTC 2017


To enable booting from MMC the MMC devices 0 and 1 are added to the
BOOT_TARGET_DEVICES.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
v7:
- added this patch to patch series
---
 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 cc2b5b6..388f239 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>
-- 
2.1.4



More information about the U-Boot mailing list