summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-19 07:16:54 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-19 07:16:54 +0000
commit02e216b7f2a0788f985441198505210b376fe18b (patch)
tree19a9fbbb3517db30b50980976cf126f9d47916b7 /target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
parent2b43286d28e27254cbd9ee60f17054633627aae3 (diff)
[atheros] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch')
-rw-r--r--target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch b/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
index de4ebeb553..2727d96c9a 100644
--- a/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
+++ b/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch
@@ -1,7 +1,8 @@
-diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
---- linux.old/drivers/mtd/redboot.c 2006-12-14 23:53:29.000000000 +0100
-+++ linux.dev/drivers/mtd/redboot.c 2006-12-16 04:23:42.000000000 +0100
-@@ -64,6 +64,7 @@
+Index: linux-2.6.23.17/drivers/mtd/redboot.c
+===================================================================
+--- linux-2.6.23.17.orig/drivers/mtd/redboot.c
++++ linux-2.6.23.17/drivers/mtd/redboot.c
+@@ -64,6 +64,7 @@ static int parse_redboot_partitions(stru
if (!buf)
return -ENOMEM;
@@ -9,7 +10,7 @@ diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
if ( directory < 0 )
offset = master->size + directory*master->erasesize;
else
-@@ -140,6 +141,11 @@
+@@ -140,6 +141,11 @@ static int parse_redboot_partitions(stru
}
if (i == numslots) {
/* Didn't find it */
@@ -21,4 +22,3 @@ diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
printk(KERN_NOTICE "No RedBoot partition table detected in %s\n",
master->name);
ret = 0;
-