summaryrefslogtreecommitdiffstats
path: root/target/linux/at91/patches-2.6.25/014-initpartition.patch
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-04 16:05:00 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-07-04 16:05:00 +0000
commit87bde5d7d348a4d50807a9d90493c3616c77a901 (patch)
tree5d3d2a0982f43ee2ec89badb8ffa39968e1d1dcb /target/linux/at91/patches-2.6.25/014-initpartition.patch
parent929b77d999e5aad1cbef1c1ccd9003d5d6f8b44a (diff)
First stage of update for at91 devices to 2.6.25.10 kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11631 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91/patches-2.6.25/014-initpartition.patch')
-rw-r--r--target/linux/at91/patches-2.6.25/014-initpartition.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/at91/patches-2.6.25/014-initpartition.patch b/target/linux/at91/patches-2.6.25/014-initpartition.patch
new file mode 100644
index 000000000..1c49db5b6
--- /dev/null
+++ b/target/linux/at91/patches-2.6.25/014-initpartition.patch
@@ -0,0 +1,20 @@
+Index: linux-2.6.22.19/drivers/mtd/devices/at91_dataflash.c
+===================================================================
+--- linux-2.6.22.19.orig/drivers/mtd/devices/at91_dataflash.c
++++ linux-2.6.22.19/drivers/mtd/devices/at91_dataflash.c
+@@ -163,12 +163,12 @@ static struct mtd_partition static_parti
+ .mask_flags = MTD_WRITEABLE, /* read-only */
+ },
+ {
+- .name = "kernel",
++ .name = "knlroot",
+ .offset = MTDPART_OFS_NXTBLK,
+- .size = 5 * 32 * 8 * 1056, /* 5 sectors */
++ .size = 0x320400,
+ },
+ {
+- .name = "filesystem",
++ .name = "jffs2",
+ .offset = MTDPART_OFS_NXTBLK,
+ .size = MTDPART_SIZ_FULL, /* rest = 26 sectors */
+ }