diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-13 08:30:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-13 08:30:47 +0000 |
commit | 818729cfd2b4db32e76778820522812858b1d79f (patch) | |
tree | 48cfed9e3640814e004bb00a01e0c9fa418c4842 /target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch | |
parent | 8b8a68859ded3521a4d26114b6efe7cdfd2a8975 (diff) | |
download | mtk-20170518-818729cfd2b4db32e76778820522812858b1d79f.zip mtk-20170518-818729cfd2b4db32e76778820522812858b1d79f.tar.gz mtk-20170518-818729cfd2b4db32e76778820522812858b1d79f.tar.bz2 |
remove old atheros kernels and patches
SVN-Revision: 12590
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.patch | 24 |
1 files changed, 0 insertions, 24 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 deleted file mode 100644 index 2727d96..0000000 --- a/target/linux/atheros/patches-2.6.23/140-redboot_partition_scan.patch +++ /dev/null @@ -1,24 +0,0 @@ -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; - -+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; |