some fixes to the etrax build
[openwrt/svn-archive/archive.git] / target / linux / at91-2.6 / patches / 014-initpartition.patch
1 --- linux-2.6.21.5.old/drivers/mtd/devices/at91_dataflash.c 2007-06-13 13:31:24.000000000 +0200
2 +++ linux-2.6.21.5/drivers/mtd/devices/at91_dataflash.c 2007-06-19 12:49:48.000000000 +0200
3 @@ -161,12 +161,12 @@
4 .mask_flags = MTD_WRITEABLE, /* read-only */
5 },
6 {
7 - .name = "kernel",
8 + .name = "knlroot",
9 .offset = MTDPART_OFS_NXTBLK,
10 - .size = 5 * 32 * 8 * 1056, /* 5 sectors */
11 + .size = 0x320400, /* 5 sectors */
12 },
13 {
14 - .name = "filesystem",
15 + .name = "jffs2",
16 .offset = MTDPART_OFS_NXTBLK,
17 .size = MTDPART_SIZ_FULL, /* rest = 26 sectors */
18 }