made au1000 images srec file ending
[openwrt.git] / target / linux / etrax / patches / cris / 008-flashmap.patch
1 diff -urN linux-2.6.19.2.orig/arch/cris/arch-v10/drivers/axisflashmap.c linux-2.6.19.2/arch/cris/arch-v10/drivers/axisflashmap.c
2 --- linux-2.6.19.2.orig/arch/cris/arch-v10/drivers/axisflashmap.c 2007-05-21 23:12:27.000000000 +0200
3 +++ linux-2.6.19.2/arch/cris/arch-v10/drivers/axisflashmap.c 2007-05-21 23:13:09.000000000 +0200
4 @@ -256,7 +256,7 @@
5
6 /* If no partition-table was found, we use this default-set. */
7 #define MAX_PARTITIONS 7
8 -#define NUM_DEFAULT_PARTITIONS 3
9 +#define NUM_DEFAULT_PARTITIONS 3
10
11 /*
12 * Default flash size is 2MB. CONFIG_ETRAX_PTABLE_SECTOR is most likely the
13 @@ -265,19 +265,19 @@
14 */
15 static struct mtd_partition axis_default_partitions[NUM_DEFAULT_PARTITIONS] = {
16 {
17 - .name = "boot firmware",
18 - .size = CONFIG_ETRAX_PTABLE_SECTOR,
19 + .name = "kernel",
20 + .size = 0x200000,
21 .offset = 0
22 },
23 {
24 - .name = "kernel",
25 - .size = 0x200000 - (6 * CONFIG_ETRAX_PTABLE_SECTOR),
26 - .offset = CONFIG_ETRAX_PTABLE_SECTOR
27 + .name = "filesystem",
28 + .size = 0x200000,
29 + .offset = 0x200000
30 },
31 {
32 - .name = "filesystem",
33 - .size = 5 * CONFIG_ETRAX_PTABLE_SECTOR,
34 - .offset = 0x200000 - (5 * CONFIG_ETRAX_PTABLE_SECTOR)
35 + .name = "filesystem2",
36 + .size = 0x400000,
37 + .offset = 0x400000
38 }
39 };
40
41 009-flashmap.patch
This page took 0.044046 seconds and 5 git commands to generate.