summaryrefslogtreecommitdiffstats
path: root/include/configs/mcx.h
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2014-02-14 12:51:27 +0100
committerTom Rini <trini@ti.com>2014-02-21 13:55:41 -0500
commita5d64dbf20dd4b658dafb081afbbea797b27bdc3 (patch)
treeac049b01817e2f8460503c113a605d140b72de72 /include/configs/mcx.h
parentf1eb45dcad78560e68e61c256198cce42aaadca0 (diff)
downloadtalos-obmc-uboot-a5d64dbf20dd4b658dafb081afbbea797b27bdc3.tar.gz
talos-obmc-uboot-a5d64dbf20dd4b658dafb081afbbea797b27bdc3.zip
OMAP3: fix default environment for mcx board
Patch allows to load a script at the startup from MMC. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs/mcx.h')
-rw-r--r--include/configs/mcx.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
index 209c2bbd7c..7c5c2f4d1c 100644
--- a/include/configs/mcx.h
+++ b/include/configs/mcx.h
@@ -264,10 +264,9 @@
"${mtdparts} " \
"vram=6M omapfb.vram=1:2M,2:2M,3:2M " \
"omapdss.def_disp=lcd;" \
- "bootm 0x82000000 0x84000000\0"
-
-#define CONFIG_BOOTCOMMAND \
- "run nandboot"
+ "bootm 0x82000000 0x84000000\0" \
+ "bootcmd=mmc rescan;if fatload mmc 0 82000000 loadbootscr.scr;" \
+ "then source 82000000;else run nandboot;fi\0"
#define CONFIG_AUTO_COMPLETE
#define CONFIG_CMDLINE_EDITING
OpenPOWER on IntegriCloud