From: Minkyu Kang Date: Fri, 4 Jun 2010 00:45:09 +0000 (+0900) Subject: ex1: fix the mtd partition X-Git-Tag: JF01_20100610~16^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=985a999c6224e317d1946821d0189b289f6b5a1e;p=kernel%2Fu-boot.git ex1: fix the mtd partition Signed-off-by: Minkyu Kang --- diff --git a/include/configs/ex1.h b/include/configs/ex1.h index 124fcf1..e1c9f2e 100644 --- a/include/configs/ex1.h +++ b/include/configs/ex1.h @@ -87,15 +87,12 @@ #define CONFIG_MTD_PARTITIONS /* Actual modem binary size is 16MiB. Add 2MiB for bad block handling */ -#define MTDIDS_DEFAULT "onenand0=samsung-onenand" -#define MTDPARTS_DEFAULT "mtdparts=samsung-onenand:1m(bootloader)"\ +#define MTDIDS_DEFAULT "onenand0=onenand" +#define MTDPARTS_DEFAULT "mtdparts=onenand:1m(bootloader)"\ ",256k(params)"\ ",2816k(config)"\ - ",8m(csa)"\ ",7m(kernel)"\ ",1m(log)"\ - ",12m(modem)"\ - ",60m(qboot)"\ ",-(UBI)\0" #define NORMAL_MTDPARTS_DEFAULT MTDPARTS_DEFAULT @@ -109,13 +106,13 @@ #define CONFIG_COMMON_BOOT "${console} ${meminfo} ${mtdparts}" -#define CONFIG_BOOTARGS "root=/dev/mtdblock8 ubi.mtd=8 ubi.mtd=3 ubi.mtd=6" \ +#define CONFIG_BOOTARGS "root=/dev/mtdblock8 ubi.mtd=5" \ " rootfstype=cramfs " CONFIG_COMMON_BOOT #define CONFIG_UPDATEB "updateb=onenand erase 0x0 0x100000;" \ " onenand write 0xC2008000 0x0 0x100000\0" -#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=3 ubi.mtd=6" +#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock}" #define CONFIG_UBIFS_OPTION "rootflags=bulk_read,no_chk_data_crc" @@ -161,7 +158,7 @@ "meminfo=mem=80M mem=256M@0x40000000 mem=128M@0x50000000\0" \ "mmcblk=/dev/mmcblk1p1\0" \ "bootblock=9\0" \ - "ubiblock=8\0" \ + "ubiblock=5\0" \ "ubi=enabled\0" \ "opts=always_resume=1"