diff mbox

[U-Boot,v1,1/2] SHEEVAPLUG : REDEFINE MTDPARTS

Message ID 1418502999-6276-2-git-send-email-drEagle@doukki.net
State Superseded
Headers show

Commit Message

DrEagle Dec. 13, 2014, 8:36 p.m. UTC
Signed-off-by: GĂ©rald Kerma <drEagle@doukki.net>
---
 include/configs/sheevaplug.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox

Patch

diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 0f523c5..96fbe87 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -78,8 +78,7 @@ 
  * it has to be rounded to sector size
  */
 #define CONFIG_ENV_SIZE			0x20000	/* 128k */
-#define CONFIG_ENV_ADDR			0x80000
-#define CONFIG_ENV_OFFSET		0x80000	/* env starts here */
+#define CONFIG_ENV_OFFSET		0xE0000	/* env starts here */
 
 /*
  * Default environment variables
@@ -88,10 +87,11 @@ 
 	"setenv bootargs ${x_bootargs} ${x_bootargs_root}; "	\
 	"${x_bootcmd_usb}; bootm 0x6400000;"
 
-#define CONFIG_MTDPARTS		\
-	"mtdparts=orion_nand:512K(uboot),"				\
-	"512K(env),1M(script),6M(kernel),"				\
-	"12M(ramdisk),4M(spare),-(rootfs)"
+#define CONFIG_MTDPARTS	\
+	"mtdparts=orion_nand:"					\
+	"640K(uboot),128K(uboot_env),"				\
+	"256K(script),23M@1M(image),"				\
+	"-@24M(rootfs)"
 
 #define CONFIG_EXTRA_ENV_SETTINGS	"x_bootargs=console"	\
 	"=ttyS0,115200 mtdparts="CONFIG_MTDPARTS	\