omap3_pandora: Fix mmc loading of autoboot script to use correct syntax.
authorVagrant Cascadian <vagrant@debian.org>
Mon, 29 Aug 2016 07:56:05 +0000 (00:56 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 6 Sep 2016 17:41:43 +0000 (13:41 -0400)
fatload/ext2load both require that the device and partition be
specified after specifying the device type. Specify the first
partition on mmc device 0, which is the only mmc device currently
configured on the pandora.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Acked-by: Grazvydas Ignotas <notasas@gmail.com>
include/configs/omap3_pandora.h

index 9e7bd88adb000a8c745c7ff104178661d8eabbae..86edf198f5a1de3f496da9b5c920c262c2f11832 100644 (file)
@@ -93,8 +93,8 @@
        "mtdparts=" MTDPARTS_DEFAULT "\0" \
 
 #define CONFIG_BOOTCOMMAND \
-       "if mmc rescan && fatload mmc1 0 ${loadaddr} autoboot.scr || " \
-                       "ext2load mmc1 0 ${loadaddr} autoboot.scr; then " \
+       "if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
+                       "ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
                "source ${loadaddr}; " \
        "fi; " \
        "ubi part boot && ubifsmount ubi:boot && " \