X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/697e06b22580013c25f0f170925fa5f02879345b..adde7768a2eab2950a7628319ec832c63a00ff03:/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch?ds=inline 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 de4ebeb55..2727d96c9 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; -