summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-04 00:59:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-04 00:59:59 +0100
commitfaa66544c82f39203dca165e8b0a931e21b3a1ba (patch)
treeceaf755fc1d7d08f37f06c9226ebe6016e4880a8
parent641d418c8a8155f505f6208b96699ffb659da3df (diff)
add a separate partition for cfgfs
-rw-r--r--target/rb532/patches/cfgfs.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/rb532/patches/cfgfs.patch b/target/rb532/patches/cfgfs.patch
new file mode 100644
index 000000000..ed090bf3c
--- /dev/null
+++ b/target/rb532/patches/cfgfs.patch
@@ -0,0 +1,18 @@
+diff -Nur linux-2.6.32.orig/arch/mips/rb532/devices.c linux-2.6.32/arch/mips/rb532/devices.c
+--- linux-2.6.32.orig/arch/mips/rb532/devices.c 2009-12-03 04:51:21.000000000 +0100
++++ linux-2.6.32/arch/mips/rb532/devices.c 2010-02-01 22:29: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 = {