]> git.sur5r.net Git - u-boot/commitdiff
ARM: sheevaplug: redefine MTDPARTS
authorDrEagle <dreagle@doukki.net>
Sun, 7 Sep 2014 16:01:23 +0000 (18:01 +0200)
committerPrafulla Wadaskar <prafulla@marvell.com>
Wed, 1 Oct 2014 11:05:02 +0000 (07:05 -0400)
This patch redefine MTDPARTS

Signed-off-by: Gerald Kerma <drEagle@doukki.net>
 Changes in v1:
 - redefine MTDPARTS
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
include/configs/sheevaplug.h

index 0a3118d82aaed499fea73d2d247fa8c2d706162a..62f46b7e19509d8df9df1fccfbe0b19b680789f2 100644 (file)
        "setenv bootargs ${x_bootargs} ${x_bootargs_root}; "    \
        "${x_bootcmd_usb}; bootm 0x6400000;"
 
-#define CONFIG_MTDPARTS                "orion_nand:512k(uboot),"       \
-       "3m@1m(kernel),1m@4m(psm),13m@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        \