s5pc210: universal: Fix ubi mtd partition
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 12 Oct 2010 10:21:42 +0000 (19:21 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 12 Oct 2010 10:29:29 +0000 (19:29 +0900)
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
include/configs/s5pc110_universal.h
include/configs/s5pc210_universal.h

index acc05ec..d0ae754 100644 (file)
 #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
index 41929dc..b1d6d9d 100644 (file)
 #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