diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-11-06 20:55:33 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-11-06 20:55:33 +0000 |
commit | d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76 (patch) | |
tree | 902ba8bee0eeb73fdb63e9402112c8c0ff4fb12f /target/linux/ar7/patches-2.6.26/200-mtd_fixes.patch | |
parent | 226d8cb16579aecaaf52228177a795e276bf8f06 (diff) | |
download | master-187ad058-d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76.tar.gz master-187ad058-d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76.tar.bz2 master-187ad058-d9d70c2ebb0ad11fc61be3e9bc7148fe2106ab76.zip |
[kernel] refresh 2.6.26 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13135 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/patches-2.6.26/200-mtd_fixes.patch')
-rw-r--r-- | target/linux/ar7/patches-2.6.26/200-mtd_fixes.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar7/patches-2.6.26/200-mtd_fixes.patch b/target/linux/ar7/patches-2.6.26/200-mtd_fixes.patch index 850a643024..729fd5d18b 100644 --- a/target/linux/ar7/patches-2.6.26/200-mtd_fixes.patch +++ b/target/linux/ar7/patches-2.6.26/200-mtd_fixes.patch @@ -11,7 +11,7 @@ struct ar7_bin_rec { unsigned int checksum; unsigned int length; -@@ -47,7 +51,8 @@ +@@ -47,7 +51,8 @@ static int create_mtd_partitions(struct unsigned long origin) { struct ar7_bin_rec header; @@ -21,7 +21,7 @@ unsigned int pre_size = master->erasesize, post_size = 0; unsigned int root_offset = ROOT_OFFSET; -@@ -66,7 +71,7 @@ +@@ -66,7 +71,7 @@ static int create_mtd_partitions(struct do { /* Try 10 blocks starting from master->erasesize */ offset = pre_size; master->read(master, offset, @@ -30,7 +30,7 @@ if (!strncmp((char *)&header, "TIENV0.8", 8)) ar7_parts[1].offset = pre_size; if (header.checksum == LOADER_MAGIC1) -@@ -88,7 +93,7 @@ +@@ -88,7 +93,7 @@ static int create_mtd_partitions(struct while (header.length) { offset += sizeof(header) + header.length; master->read(master, offset, sizeof(header), @@ -39,7 +39,7 @@ } root_offset = offset + sizeof(header) + 4; break; -@@ -96,10 +101,10 @@ +@@ -96,10 +101,10 @@ static int create_mtd_partitions(struct while (header.length) { offset += sizeof(header) + header.length; master->read(master, offset, sizeof(header), |