From: Joonyoung Shim Date: Tue, 12 Oct 2010 10:21:42 +0000 (+0900) Subject: s5pc210: universal: Fix ubi mtd partition X-Git-Tag: v0.2~359^2~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=826a017b8e24a04c5bbeffd1a22cc5298fc9ac3c;p=kernel%2Fu-boot.git s5pc210: universal: Fix ubi mtd partition Signed-off-by: Joonyoung Shim --- diff --git a/include/configs/s5pc110_universal.h b/include/configs/s5pc110_universal.h index acc05ec..d0ae754 100644 --- a/include/configs/s5pc110_universal.h +++ b/include/configs/s5pc110_universal.h @@ -251,14 +251,14 @@ #define CONFIG_UPDATEB "updateb=onenand erase 0x0 0x100000;" \ " onenand write 0x32008000 0x0 0x100000\0" -#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=3 ubi.mtd=6" - #define CONFIG_UBIFS_OPTION "rootflags=bulk_read,no_chk_data_crc" #ifdef CONFIG_SBOOT +#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=4 ubi.mtd=7" #define CONFIG_BOOTBLOCK "10" #define CONFIG_UBIBLOCK "9" #else +#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=3 ubi.mtd=6" #define CONFIG_BOOTBLOCK "9" #define CONFIG_UBIBLOCK "8" #endif diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h index 41929dc..b1d6d9d 100644 --- a/include/configs/s5pc210_universal.h +++ b/include/configs/s5pc210_universal.h @@ -244,14 +244,14 @@ #define CONFIG_UPDATEB "updateb=onenand erase 0x0 0x100000;" \ " onenand write 0x42008000 0x0 0x100000\0" -#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=4 ubi.mtd=7" - #define CONFIG_UBIFS_OPTION "rootflags=bulk_read,no_chk_data_crc" #ifdef CONFIG_SBOOT +#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=4 ubi.mtd=7" #define CONFIG_BOOTBLOCK "10" #define CONFIG_UBIBLOCK "9" #else +#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=3 ubi.mtd=6" #define CONFIG_BOOTBLOCK "9" #define CONFIG_UBIBLOCK "8" #endif