summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.37/rb532.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/2.6.37/rb532.patch')
-rw-r--r--target/linux/patches/2.6.37/rb532.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.37/rb532.patch b/target/linux/patches/2.6.37/rb532.patch
new file mode 100644
index 000000000..be68c65f0
--- /dev/null
+++ b/target/linux/patches/2.6.37/rb532.patch
@@ -0,0 +1,18 @@
+diff -Nur linux-2.6.36.orig/arch/mips/rb532/devices.c linux-2.6.36/arch/mips/rb532/devices.c
+--- linux-2.6.36.orig/arch/mips/rb532/devices.c 2010-10-20 22:30:22.000000000 +0200
++++ linux-2.6.36/arch/mips/rb532/devices.c 2010-12-21 20:26:05.000000000 +0100
+@@ -190,8 +190,12 @@
+ }, {
+ .name = "rootfs",
+ .offset = MTDPART_OFS_NXTBLK,
+- .size = MTDPART_SIZ_FULL,
+- }
++ .size = 0x8000000 - 0x400000 - 0x400000,
++ }, {
++ .name = "cfgfs",
++ .offset = 0x8000000 - 0x400000,
++ .size = 0x400000,
++ },
+ };
+
+ static struct platform_device rb532_led = {