use kernel abs(), remove recursion in gcd() (closes: #2307)
[openwrt.git] / target / linux / at91-2.6 / patches-2.6.22 / 014-initpartition.patch
1 diff -urN linux-2.6.22.1.old/drivers/mtd/devices/at91_dataflash.c linux-2.6.22.1/drivers/mtd/devices/at91_dataflash.c
2 --- linux-2.6.22.1.old/drivers/mtd/devices/at91_dataflash.c 2007-07-29 07:18:10.000000000 +0200
3 +++ linux-2.6.22.1/drivers/mtd/devices/at91_dataflash.c 2007-07-29 07:32:52.000000000 +0200
4 @@ -161,12 +161,12 @@
5 .mask_flags = MTD_WRITEABLE, /* read-only */
6 },
7 {
8 - .name = "kernel",
9 + .name = "knlroot",
10 .offset = MTDPART_OFS_NXTBLK,
11 - .size = 5 * 32 * 8 * 1056, /* 5 sectors */
12 + .size = 0x320400,
13 },
14 {
15 - .name = "filesystem",
16 + .name = "jffs2",
17 .offset = MTDPART_OFS_NXTBLK,
18 .size = MTDPART_SIZ_FULL, /* rest = 26 sectors */
19 }
This page took 0.041957 seconds and 5 git commands to generate.