First stage of update for at91 devices to 2.6.25.10 kernel
[openwrt/svn-archive/archive.git] / target / linux / at91 / patches-2.6.25 / 014-initpartition.patch
1 Index: linux-2.6.22.19/drivers/mtd/devices/at91_dataflash.c
2 ===================================================================
3 --- linux-2.6.22.19.orig/drivers/mtd/devices/at91_dataflash.c
4 +++ linux-2.6.22.19/drivers/mtd/devices/at91_dataflash.c
5 @@ -163,12 +163,12 @@ static struct mtd_partition static_parti
6 .mask_flags = MTD_WRITEABLE, /* read-only */
7 },
8 {
9 - .name = "kernel",
10 + .name = "knlroot",
11 .offset = MTDPART_OFS_NXTBLK,
12 - .size = 5 * 32 * 8 * 1056, /* 5 sectors */
13 + .size = 0x320400,
14 },
15 {
16 - .name = "filesystem",
17 + .name = "jffs2",
18 .offset = MTDPART_OFS_NXTBLK,
19 .size = MTDPART_SIZ_FULL, /* rest = 26 sectors */
20 }