mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +09:00
omap3: overo: Call bootm only after successful nand read
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
This commit is contained in:
parent
26459488b7
commit
f2565a551c
@ -131,8 +131,9 @@
|
|||||||
"bootz ${loadaddr} - ${fdtaddr}\0" \
|
"bootz ${loadaddr} - ${fdtaddr}\0" \
|
||||||
"nandboot=echo Booting from nand ...; " \
|
"nandboot=echo Booting from nand ...; " \
|
||||||
"run nandargs; " \
|
"run nandargs; " \
|
||||||
"nand read ${loadaddr} linux; " \
|
"if nand read ${loadaddr} linux; then " \
|
||||||
"bootm ${loadaddr}\0" \
|
"bootm ${loadaddr};" \
|
||||||
|
"fi;\0" \
|
||||||
|
|
||||||
#define CONFIG_BOOTCOMMAND \
|
#define CONFIG_BOOTCOMMAND \
|
||||||
"mmc dev ${mmcdev}; if mmc rescan; then " \
|
"mmc dev ${mmcdev}; if mmc rescan; then " \
|
||||||
|
Loading…
Reference in New Issue
Block a user