strip the kernel version suffix from target directories, except for brcm-2.4 (the...
[openwrt.git] / target / linux / etrax / patches / cris / 008a-flashmap.patch
1 Binary files linux-2.6.19.2.orig/arch/cris/arch-v10/drivers/.axisflashmap.c.swp and linux-2.6.19.2/arch/cris/arch-v10/drivers/.axisflashmap.c.swp differ
2 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
3 --- linux-2.6.19.2.orig/arch/cris/arch-v10/drivers/axisflashmap.c       2007-05-28 01:40:09.000000000 +0200
4 +++ linux-2.6.19.2/arch/cris/arch-v10/drivers/axisflashmap.c    2007-05-28 01:41:29.000000000 +0200
5 @@ -256,7 +256,7 @@
6  
7  /* If no partition-table was found, we use this default-set. */
8  #define MAX_PARTITIONS         7  
9 -#define NUM_DEFAULT_PARTITIONS 3 
10 +#define NUM_DEFAULT_PARTITIONS 2 
11  
12  /*
13   * Default flash size is 2MB. CONFIG_ETRAX_PTABLE_SECTOR is most likely the
14 @@ -270,15 +270,10 @@
15                 .offset = 0
16         },
17         {
18 -               .name = "filesystem",
19 -               .size = 0x200000, 
20 +               .name = "rootfs",
21 +               .size = 0x600000, 
22                 .offset = 0x200000
23         },
24 -       {
25 -               .name = "filesystem2",
26 -               .size = 0x400000, 
27 -               .offset = 0x400000
28 -       }
29  };
30  
31  /* Initialize the ones normally used. */
32 Binary files linux-2.6.19.2.orig/arch/cris/arch-v10/drivers/axisflashmap.o and linux-2.6.19.2/arch/cris/arch-v10/drivers/axisflashmap.o differ
33 Binary files linux-2.6.19.2.orig/arch/cris/arch-v10/drivers/built-in.o and linux-2.6.19.2/arch/cris/arch-v10/drivers/built-in.o differ