aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ppc44x/patches/110-openwrt_mtd_mapping.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-01-27 23:11:21 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-01-27 23:11:21 +0000
commit18ce9e8974f2a39c5c3b42c5e2eda97533e1ecdc (patch)
tree446e12dc753b7f9a254f9f497d6d8c2c877b22c7 /target/linux/ppc44x/patches/110-openwrt_mtd_mapping.patch
parent2d2ae16453082c8e710e0228d64ce4a0d2748f6f (diff)
downloadmaster-187ad058-18ce9e8974f2a39c5c3b42c5e2eda97533e1ecdc.tar.gz
master-187ad058-18ce9e8974f2a39c5c3b42c5e2eda97533e1ecdc.tar.bz2
master-187ad058-18ce9e8974f2a39c5c3b42c5e2eda97533e1ecdc.zip
* Rename the AMCC target to PPC44x
* Upgrade PPC44x to 2.6.23 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ppc44x/patches/110-openwrt_mtd_mapping.patch')
-rw-r--r--target/linux/ppc44x/patches/110-openwrt_mtd_mapping.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/ppc44x/patches/110-openwrt_mtd_mapping.patch b/target/linux/ppc44x/patches/110-openwrt_mtd_mapping.patch
new file mode 100644
index 0000000000..7d07fa9256
--- /dev/null
+++ b/target/linux/ppc44x/patches/110-openwrt_mtd_mapping.patch
@@ -0,0 +1,29 @@
+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 */
+ },