public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/1] odroid-c2: enable MMC as boot target
@ 2017-04-14 14:33 Heinrich Schuchardt
  2017-04-14 14:35 ` Andreas Färber
  0 siblings, 1 reply; 8+ messages in thread
From: Heinrich Schuchardt @ 2017-04-14 14:33 UTC (permalink / raw)
  To: u-boot

To enable automatic booting from SD card or eMMC the MMC devices 0 and 1
are added to the BOOT_TARGET_DEVICES.

Booting from SD card, eMMC, and DHCP are tried in sequence.
A missing or failing device is gracefully handled.

Cc: Andreas Färber <afaerber@suse.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
v2:
  Enhance commit message to clearly indicate how the
  boot targets are sequenced.
v1:
  This is a resubmission of
  https://lists.denx.de/pipermail/u-boot/2017-April/287315.html
  where this patch was part of patch series which was no longer applicable.
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-01 15:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-14 14:33 [U-Boot] [PATCH v2 1/1] odroid-c2: enable MMC as boot target Heinrich Schuchardt
2017-04-14 14:35 ` Andreas Färber
2017-04-15 19:16   ` Andreas Färber
2017-04-15 19:30     ` [U-Boot] [PATCH v3 1/1] meson: gxbb: " Heinrich Schuchardt
2017-04-17 20:46       ` [U-Boot] [U-Boot, v3, " Vagrant Cascadian
2017-04-19  5:12       ` [U-Boot] [PATCH v3 " Andreas Färber
2017-05-01 14:20         ` Andreas Färber
2017-05-01 15:49       ` [U-Boot] [U-Boot, v3, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox