[U-Boot] [PATCH 4/5] ARM: sheevaplug: redefine MTDPARTS

Gerald Kerma drEagle at doukki.net
Sun Sep 7 18:01:23 CEST 2014


This patch redefine MTDPARTS

Signed-off-by: Gerald Kerma <drEagle at doukki.net>

 Changes in v1:
 - redefine MTDPARTS

---
 include/configs/sheevaplug.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 0a3118d..62f46b7 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -74,8 +74,10 @@
 	"setenv bootargs ${x_bootargs} ${x_bootargs_root}; "	\
 	"${x_bootcmd_usb}; bootm 0x6400000;"
 
-#define CONFIG_MTDPARTS		"orion_nand:512k(uboot),"	\
-	"3m at 1m(kernel),1m at 4m(psm),13m at 5m(rootfs) rw\0"
+#define CONFIG_MTDPARTS		\
+	"mtdparts=orion_nand:512K(uboot),"				\
+	"512K(env),1M(script),6M(kernel),"				\
+	"12M(ramdisk),4M(spare),-(rootfs)"

 #define CONFIG_EXTRA_ENV_SETTINGS	"x_bootargs=console"	\
 	"=ttyS0,115200 mtdparts="CONFIG_MTDPARTS	\
-- 
1.9.1



More information about the U-Boot mailing list