]> git.sur5r.net Git - u-boot/commitdiff
omap3_pandora: Switch to using "load" command to load the autoboot script.
authorVagrant Cascadian <vagrant@debian.org>
Mon, 29 Aug 2016 07:56:06 +0000 (00:56 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 6 Sep 2016 17:41:43 +0000 (13:41 -0400)
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>
include/configs/omap3_pandora.h

index 86edf198f5a1de3f496da9b5c920c262c2f11832..728a4e573183433ff61cd922e40c9d0918f39da4 100644 (file)
@@ -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 && " \