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
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
12 * Default flash size is 2MB. CONFIG_ETRAX_PTABLE_SECTOR is most likely the
15 static struct mtd_partition axis_default_partitions[NUM_DEFAULT_PARTITIONS] = {
17 - .name = "boot firmware",
18 - .size = CONFIG_ETRAX_PTABLE_SECTOR,
25 - .size = 0x200000 - (6 * CONFIG_ETRAX_PTABLE_SECTOR),
26 - .offset = CONFIG_ETRAX_PTABLE_SECTOR
27 + .name = "filesystem",
32 - .name = "filesystem",
33 - .size = 5 * CONFIG_ETRAX_PTABLE_SECTOR,
34 - .offset = 0x200000 - (5 * CONFIG_ETRAX_PTABLE_SECTOR)
35 + .name = "filesystem2",