1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 16:15:10 +02:00
openwrt-xburst/target/linux/amcc-2.6/patches/110-openwrt_mtd_mapping.patch
kaloz 0f31d464c4 add support for the AMCC Taishan, mark it as broken until we fix the combined layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-28 16:47:42 +00:00

30 lines
866 B
Diff

diff -Nur linux-2.6.21/arch/ppc/platforms/4xx/taishan.c linux-2.6.21-owrt/arch/ppc/platforms/4xx/taishan.c
--- linux-2.6.21/arch/ppc/platforms/4xx/taishan.c 2007-04-27 23:49:26.000000000 +0200
+++ linux-2.6.21-owrt/arch/ppc/platforms/4xx/taishan.c 2007-05-28 17:21:46.000000000 +0200
@@ -60,8 +60,8 @@
};
#define RW_PART0_OF 0
-#define RW_PART0_SZ 0x180000
-#define RW_PART1_SZ 0x200000
+#define RW_PART0_SZ 0x400000
+#define RW_PART1_SZ 0x3a00000
/* Partition 2 will be autosized dynamically... */
#define RW_PART3_SZ 0x80000
#define RW_PART4_SZ 0x40000
@@ -73,12 +73,12 @@
.size = RW_PART0_SZ
},
{
- .name = "root",
+ .name = "rootfs",
.offset = MTDPART_OFS_APPEND,
.size = RW_PART1_SZ,
},
{
- .name = "user",
+ .name = "diagnostics",
.offset = MTDPART_OFS_APPEND,
/* .size = RW_PART2_SZ */ /* will be adjusted dynamically */
},