summaryrefslogtreecommitdiff
path: root/include/configs/meson-gxbb-common.h
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-04-15 19:30:39 (GMT)
committerTom Rini <trini@konsulko.com>2017-05-01 15:49:48 (GMT)
commit1f677e4266b1265fca9c8cc93f755900b3ce7503 (patch)
tree6e2b694ba81f3224446daf303e42f8981271dc10 /include/configs/meson-gxbb-common.h
parent2681e78a5ee0e3d6d45abc195c81d1c527fcea0b (diff)
downloadu-boot-1f677e4266b1265fca9c8cc93f755900b3ce7503.tar.xz
meson: gxbb: enable MMC as boot target
To enable automatic booting from SD card or eMMC the MMC devices 0, 1, and 2 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> Tested-by: Vagrant Cascadian <vagrant@debian.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Tested-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/configs/meson-gxbb-common.h')
-rw-r--r--include/configs/meson-gxbb-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h
index cc2b5b6..997ce2d 100644
--- a/include/configs/meson-gxbb-common.h
+++ b/include/configs/meson-gxbb-common.h
@@ -39,6 +39,9 @@
#include <config_distro_defaults.h>
#define BOOT_TARGET_DEVICES(func) \
+ func(MMC, mmc, 0) \
+ func(MMC, mmc, 1) \
+ func(MMC, mmc, 2) \
func(DHCP, dhcp, na)
#include <config_distro_bootcmd.h>