[U-Boot] [PATCH 2/2] OMAP3: mt_ventoux: sets its own mtdparts

Stefano Babic sbabic at denx.de
Wed Mar 21 11:14:25 CET 2012


Signed-off-by: Stefano Babic <sbabic at denx.de>
Cc: Tom Rini <trini at ti.com>
---
 include/configs/mt_ventoux.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/configs/mt_ventoux.h b/include/configs/mt_ventoux.h
index 2034b59..5db6d57 100644
--- a/include/configs/mt_ventoux.h
+++ b/include/configs/mt_ventoux.h
@@ -40,6 +40,16 @@
 #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
  */
 #define CONFIG_CMD_FPGA
-- 
1.7.5.4



More information about the U-Boot mailing list