summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-orion/kuropro-foonas-mtd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-orion/kuropro-foonas-mtd.patch')
-rw-r--r--recipes/linux/linux-orion/kuropro-foonas-mtd.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/linux/linux-orion/kuropro-foonas-mtd.patch b/recipes/linux/linux-orion/kuropro-foonas-mtd.patch
new file mode 100644
index 0000000000..7eee9a9462
--- /dev/null
+++ b/recipes/linux/linux-orion/kuropro-foonas-mtd.patch
@@ -0,0 +1,36 @@
+diff -urN linux-2.6.27.old/arch/arm/mach-orion5x/kurobox_pro-setup.c linux-2.6.27/arch/arm/mach-orion5x/kurobox_pro-setup.c
+--- linux-2.6.27.old/arch/arm/mach-orion5x/kurobox_pro-setup.c 2008-09-13 16:25:58.000000000 +0100
++++ linux-2.6.27/arch/arm/mach-orion5x/kurobox_pro-setup.c 2008-09-13 16:35:53.000000000 +0100
+@@ -53,17 +53,25 @@
+
+ static struct mtd_partition kurobox_pro_nand_parts[] = {
+ {
+- .name = "uImage",
++ .name = "foonas",
+ .offset = 0,
+- .size = SZ_4M,
++ .size = SZ_16M,
+ }, {
+- .name = "rootfs",
+- .offset = SZ_4M,
+- .size = SZ_64M,
++ .name = "foonas-em",
++ .offset = SZ_16M,
++ .size = SZ_16M,
++ }, {
++ .name = "foonas-iscsi",
++ .offset = SZ_32M,
++ .size = SZ_16M,
++ }, {
++ .name = "foonas-config",
++ .offset = SZ_32M + SZ_16M,
++ .size = SZ_32M,
+ }, {
+ .name = "extra",
+- .offset = SZ_4M + SZ_64M,
+- .size = SZ_256M - (SZ_4M + SZ_64M),
++ .offset = SZ_64M + SZ_16M,
++ .size = SZ_256M - (SZ_64M + SZ_16M),
+ },
+ };
+