summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-13 08:30:47 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-13 08:30:47 +0000
commit41010d8a600c32dd5095b25828fba5104522bcb8 (patch)
tree5987aabe7d1a19fd89633f58c4c8fe52a08670a2 /target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch
parentdedfd7f4086685cf899902821d067e226a46400d (diff)
remove old atheros kernels and patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12590 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch')
-rw-r--r--target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch b/target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch
deleted file mode 100644
index 71a60cb20..000000000
--- a/target/linux/atheros/patches-2.6.24/140-redboot_partition_scan.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: linux-2.6.24.7/drivers/mtd/redboot.c
-===================================================================
---- linux-2.6.24.7.orig/drivers/mtd/redboot.c
-+++ linux-2.6.24.7/drivers/mtd/redboot.c
-@@ -64,6 +64,7 @@ static int parse_redboot_partitions(stru
- if (!buf)
- return -ENOMEM;
-
-+restart:
- if ( directory < 0 )
- offset = master->size + directory*master->erasesize;
- else
-@@ -140,6 +141,11 @@ static int parse_redboot_partitions(stru
- }
- if (i == numslots) {
- /* Didn't find it */
-+ if (offset + master->erasesize < master->size) {
-+ /* not at the end of the flash yet, maybe next block :) */
-+ directory++;
-+ goto restart;
-+ }
- printk(KERN_NOTICE "No RedBoot partition table detected in %s\n",
- master->name);
- ret = 0;