summaryrefslogtreecommitdiff
path: root/include/configs/omap3_pandora.h
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2016-08-29 07:56:05 (GMT)
committerTom Rini <trini@konsulko.com>2016-09-06 17:41:43 (GMT)
commitf6eb836e8411daecfa68d410d69832f54f31a985 (patch)
tree098432acb419e5093748a6aacf999e977a252c60 /include/configs/omap3_pandora.h
parentfa2f81b06f666710c756d25297d7a9ca48c65935 (diff)
downloadu-boot-fsl-qoriq-f6eb836e8411daecfa68d410d69832f54f31a985.tar.xz
omap3_pandora: Fix mmc loading of autoboot script to use correct syntax.
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>
Diffstat (limited to 'include/configs/omap3_pandora.h')
-rw-r--r--include/configs/omap3_pandora.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h
index 9e7bd88..86edf19 100644
--- a/include/configs/omap3_pandora.h
+++ b/include/configs/omap3_pandora.h
@@ -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 && " \