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>
This commit is contained in:
parent
f6eb836e84
commit
4667c83365
@ -93,8 +93,7 @@
|
|||||||
"mtdparts=" MTDPARTS_DEFAULT "\0" \
|
"mtdparts=" MTDPARTS_DEFAULT "\0" \
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
"if mmc rescan && fatload mmc 0:1 ${loadaddr} autoboot.scr || " \
|
"if mmc rescan && load mmc 0:1 ${loadaddr} autoboot.scr; then " \
|
||||||
"ext2load mmc 0:1 ${loadaddr} autoboot.scr; then " \
|
|
||||||
"source ${loadaddr}; " \
|
"source ${loadaddr}; " \
|
||||||
"fi; " \
|
"fi; " \
|
||||||
"ubi part boot && ubifsmount ubi:boot && " \
|
"ubi part boot && ubifsmount ubi:boot && " \
|
||||||
|
Loading…
Reference in New Issue
Block a user