summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2016-08-29 00:56:06 -0700
committerTom Rini <trini@konsulko.com>2016-09-06 13:41:43 -0400
commit4667c83365fd2426c08c2a55fe4b6682ae0bd6b3 (patch)
treeaca62b19aeef8225dede850888c1b185feb51754 /include
parentf6eb836e8411daecfa68d410d69832f54f31a985 (diff)
downloadu-boot-4667c83365fd2426c08c2a55fe4b6682ae0bd6b3.tar.gz
u-boot-4667c83365fd2426c08c2a55fe4b6682ae0bd6b3.tar.xz
u-boot-4667c83365fd2426c08c2a55fe4b6682ae0bd6b3.zip
omap3_pandora: Switch to using "load" command to load the autoboot script.
CONFIG_CMD_FS_GENERIC is enabled; use it to load the autoboot script, rather than first attempting with fatload and falling back to ext2load. Signed-off-by: Vagrant Cascadian <vagrant@debian.org> Acked-by: Grazvydas Ignotas <notasas@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/omap3_pandora.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 86edf198f5..728a4e5731 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -93,8 +93,7 @@
"mtdparts=" MTDPARTS_DEFAULT "\0" \
#define CONFIG_BOOTCOMMAND \
- "if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
- "ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
+ "if mmc rescan && load mmc 0:1 ${loadaddr} autoboot.scr; then " \
"source ${loadaddr}; " \
"fi; " \
"ubi part boot && ubifsmount ubi:boot && " \