diff mbox

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

Message ID 1332324865-25074-2-git-send-email-sbabic@denx.de
State Accepted
Commit 88b821bbef64f0b69710ff7d857fc490f72a6d3c
Delegated to: Tom Rini
Headers show

Commit Message

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

Comments

Tom Rini March 22, 2012, 8:01 p.m. UTC | #1
On Wed, Mar 21, 2012 at 11:14:25AM +0100, Stefano Babic wrote:
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> Cc: Tom Rini <trini@ti.com>

Applied to u-boot-ti/master (which I intended to do another pull request
of on the 26th).
diff mbox

Patch

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