eb14e44023ac4c91002affdb1fc88dfa2809c0e7
[openwrt.git] / target / linux / at91-2.6 / patches / 002-mtd-partitiontable.patch
1 diff -urN linux-2.6.19.2/drivers/mtd/devices/at91_dataflash.c linux-2.6.19.2.old/drivers/mtd/devices/at91_dataflash.c
2 --- linux-2.6.19.2/drivers/mtd/devices/at91_dataflash.c 2007-03-05 11:21:48.000000000 +0100
3 +++ linux-2.6.19.2.old/drivers/mtd/devices/at91_dataflash.c 2007-03-05 09:23:03.000000000 +0100
4 @@ -130,28 +130,18 @@
5 {
6 .name = "bootloader",
7 .offset = 0,
8 - .size = 1 * 32 * 8 * 1056, /* 1st sector = 16 blocks * 8 pages * 1056 bytes */
9 + .size = 1 * 32 * 8 * 1056, /* 1st sector = 32 blocks * 8 pages * 1056 bytes */
10 .mask_flags = MTD_WRITEABLE, /* read-only */
11 },
12 {
13 - .name = "linux",
14 + .name = "kernel",
15 .offset = MTDPART_OFS_NXTBLK,
16 - .size = 4 * 32 * 8 * 1056, /* 4 sectors */
17 + .size = 5 * 32 * 8 * 1056, /* 5 sectors */
18 },
19 {
20 - .name = "rootfs",
21 + .name = "filesystem",
22 .offset = MTDPART_OFS_NXTBLK,
23 - .size = 4 * 32 * 8 * 1056, /* 4 sectors */
24 - },
25 - {
26 - .name = "nvram",
27 - .offset = MTDPART_OFS_NXTBLK,
28 - .size = 1 * 4 * 8 * 1056, /* 4 blocks of 8 pages = ~32k */
29 - },
30 - {
31 - .name = "OpenWrt",
32 - .offset = MTDPART_OFS_NXTBLK,
33 - .size = MTDPART_SIZ_FULL, /* rest of device */
34 + .size = MTDPART_SIZ_FULL, /* rest = 26 sectors */
35 }
36 };
37 #endif
This page took 0.04715 seconds and 3 git commands to generate.