upgrade Magicbox to 2.6.24, create only squashfs rootfs by default
[openwrt-10.03/.git] / target / linux / ppc44x / patches / 110-openwrt_mtd_mapping.patch
1 diff -Nur linux-2.6.21/arch/ppc/platforms/4xx/taishan.c linux-2.6.21-owrt/arch/ppc/platforms/4xx/taishan.c
2 --- linux-2.6.21/arch/ppc/platforms/4xx/taishan.c       2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21-owrt/arch/ppc/platforms/4xx/taishan.c  2007-05-28 17:21:46.000000000 +0200
4 @@ -60,8 +60,8 @@
5  };
6  
7  #define RW_PART0_OF    0
8 -#define RW_PART0_SZ    0x180000
9 -#define RW_PART1_SZ    0x200000
10 +#define RW_PART0_SZ    0x400000
11 +#define RW_PART1_SZ    0x3a00000
12  /* Partition 2 will be autosized dynamically... */
13  #define RW_PART3_SZ    0x80000
14  #define RW_PART4_SZ    0x40000
15 @@ -73,12 +73,12 @@
16                 .size = RW_PART0_SZ
17         },
18         {
19 -               .name = "root",
20 +               .name = "rootfs",
21                 .offset = MTDPART_OFS_APPEND,
22                 .size = RW_PART1_SZ,
23         },
24         {
25 -               .name = "user",
26 +               .name = "diagnostics",
27                 .offset = MTDPART_OFS_APPEND,
28  /*             .size = RW_PART2_SZ */ /* will be adjusted dynamically */
29         },