1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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
--- linux-2.6.19.2/drivers/mtd/devices/at91_dataflash.c 2007-03-05 11:21:48.000000000 +0100
+++ linux-2.6.19.2.old/drivers/mtd/devices/at91_dataflash.c 2007-03-05 09:23:03.000000000 +0100
@@ -130,28 +130,18 @@
{
.name = "bootloader",
.offset = 0,
- .size = 1 * 32 * 8 * 1056, /* 1st sector = 16 blocks * 8 pages * 1056 bytes */
+ .size = 1 * 32 * 8 * 1056, /* 1st sector = 32 blocks * 8 pages * 1056 bytes */
.mask_flags = MTD_WRITEABLE, /* read-only */
},
{
- .name = "linux",
+ .name = "kernel",
.offset = MTDPART_OFS_NXTBLK,
- .size = 4 * 32 * 8 * 1056, /* 4 sectors */
+ .size = 5 * 32 * 8 * 1056, /* 5 sectors */
},
{
- .name = "rootfs",
+ .name = "filesystem",
.offset = MTDPART_OFS_NXTBLK,
- .size = 4 * 32 * 8 * 1056, /* 4 sectors */
- },
- {
- .name = "nvram",
- .offset = MTDPART_OFS_NXTBLK,
- .size = 1 * 4 * 8 * 1056, /* 4 blocks of 8 pages = ~32k */
- },
- {
- .name = "OpenWrt",
- .offset = MTDPART_OFS_NXTBLK,
- .size = MTDPART_SIZ_FULL, /* rest of device */
+ .size = MTDPART_SIZ_FULL, /* rest = 26 sectors */
}
};
#endif
|