diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2012-02-10 18:09:37 -0500 |
---|---|---|
committer | Cyril Chemparathy <cyril@ti.com> | 2012-09-21 10:44:05 -0400 |
commit | d4c8cfa1e61fc7e1568e1ae255e2dd75f10e74ba (patch) | |
tree | 2c0d7030ecc375d69d9fc4c27ac5d7e47f0ee2ad | |
parent | 4ad6548ace99861b7a577f4bf4ae0d1198ff9971 (diff) | |
download | linux-keystone-d4c8cfa1e61fc7e1568e1ae255e2dd75f10e74ba.tar.gz |
tci6614: redefine partitions for UBIFS
This patch replaces the kernel and rootfs partition in NAND with just
one ubifs partition. This partition will contains following UBI volumes:-
rootfs - filesystem in this volume is used by the Linux kernel for normal
boot
rootfs-recovery - filesystem in this volume is used when the filesystem in
the rootfs volume is corrupt and not usable for Linux bootup
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
-rw-r--r-- | arch/arm/mach-davinci/board-tci6614-evm.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/arm/mach-davinci/board-tci6614-evm.c b/arch/arm/mach-davinci/board-tci6614-evm.c index 9ac9e9b74a43b5..37c0374ab5538b 100644 --- a/arch/arm/mach-davinci/board-tci6614-evm.c +++ b/arch/arm/mach-davinci/board-tci6614-evm.c @@ -54,16 +54,9 @@ static struct mtd_partition nand_partitions[] = { .size = (4 * SZ_128K), .mask_flags = MTD_WRITEABLE, /* force read-only */ }, - /* kernel in the next 4M */ + /* partition for UBIFS filesystem */ { - .name = "kernel", - .offset = MTDPART_OFS_NXTBLK, - .size = SZ_4M, - .mask_flags = 0, - }, - /* file system in the remaining */ - { - .name = "filesystem", + .name = "ubifs", .offset = MTDPART_OFS_NXTBLK, .size = MTDPART_SIZ_FULL, .mask_flags = 0, |