ARM: sheevaplug: redefine MTDPARTS

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>
This commit is contained in:
DrEagle 2014-09-07 18:01:23 +02:00 committed by Prafulla Wadaskar
parent 65ae9523d9
commit 1e3d640316

View File

@ -74,8 +74,10 @@
"setenv bootargs ${x_bootargs} ${x_bootargs_root}; " \ "setenv bootargs ${x_bootargs} ${x_bootargs_root}; " \
"${x_bootcmd_usb}; bootm 0x6400000;" "${x_bootcmd_usb}; bootm 0x6400000;"
#define CONFIG_MTDPARTS "orion_nand:512k(uboot)," \ #define CONFIG_MTDPARTS \
"3m@1m(kernel),1m@4m(psm),13m@5m(rootfs) rw\0" "mtdparts=orion_nand:512K(uboot)," \
"512K(env),1M(script),6M(kernel)," \
"12M(ramdisk),4M(spare),-(rootfs)"
#define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \ #define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
"=ttyS0,115200 mtdparts="CONFIG_MTDPARTS \ "=ttyS0,115200 mtdparts="CONFIG_MTDPARTS \