OMAP3: mt_ventoux: sets its own mtdparts
authorStefano Babic <sbabic@denx.de>
Wed, 21 Mar 2012 00:14:25 +0000 (00:14 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 27 Mar 2012 20:05:29 +0000 (22:05 +0200)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@ti.com>
include/configs/mt_ventoux.h

index 2034b59f47651090d76bc8da2ce9f56a16a42844..5db6d576664e9acef66e6d1e624e89de45809ecb 100644 (file)
 #define V_PROMPT                       "mt_ventoux => "
 #define CONFIG_SYS_PROMPT              V_PROMPT
 
+/*
+ * Set its own mtdparts, different from common
+ */
+#undef MTDIDS_DEFAULT
+#undef MTDPARTS_DEFAULT
+#define MTDIDS_DEFAULT         "nand0=omap2-nand.0"
+#define MTDPARTS_DEFAULT       "mtdparts=omap2-nand.0:512k(MLO)," \
+                               "1m(u-boot),256k(env1)," \
+                               "256k(env2),8m(ubisystem),-(rootfs)"
+
 /*
  * FPGA
  */