From: Stefano Babic Date: Fri, 14 Feb 2014 11:51:27 +0000 (+0100) Subject: OMAP3: fix default environment for mcx board X-Git-Tag: submit/tizen_2.3.1/20150915.092117~1^2~5^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5d64dbf20dd4b658dafb081afbbea797b27bdc3;p=platform%2Fkernel%2Fu-boot.git OMAP3: fix default environment for mcx board Patch allows to load a script at the startup from MMC. Signed-off-by: Stefano Babic --- diff --git a/include/configs/mcx.h b/include/configs/mcx.h index 209c2bb..7c5c2f4 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