summaryrefslogtreecommitdiffstats
path: root/include/configs/omap3_overo.h
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan@herbrechtsmeier.net>2014-09-16 17:51:06 +0200
committerTom Rini <trini@ti.com>2014-10-23 11:53:01 -0400
commitf2565a551c001f0441dbe51dc31438961fce7b53 (patch)
tree26a0873a27d92800b84551de1356ea4d7fa196c4 /include/configs/omap3_overo.h
parent26459488b70fdc40081bbff193d58be663274d51 (diff)
downloadblackbird-obmc-uboot-f2565a551c001f0441dbe51dc31438961fce7b53.tar.gz
blackbird-obmc-uboot-f2565a551c001f0441dbe51dc31438961fce7b53.zip
omap3: overo: Call bootm only after successful nand read
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Diffstat (limited to 'include/configs/omap3_overo.h')
-rw-r--r--include/configs/omap3_overo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
index b17e495f5f..d042eea1b0 100644
--- a/include/configs/omap3_overo.h
+++ b/include/configs/omap3_overo.h
@@ -131,8 +131,9 @@
"bootz ${loadaddr} - ${fdtaddr}\0" \
"nandboot=echo Booting from nand ...; " \
"run nandargs; " \
- "nand read ${loadaddr} linux; " \
- "bootm ${loadaddr}\0" \
+ "if nand read ${loadaddr} linux; then " \
+ "bootm ${loadaddr};" \
+ "fi;\0" \
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev}; if mmc rescan; then " \
OpenPOWER on IntegriCloud