From a1731024c59b99e638e3a18c6ff1f0f7b52156b6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 21 Jan 2007 00:04:18 +0000 Subject: [PATCH] revert oleg's flash mirrorbit hack - it's actually causing problems on the WL-500gP (see http://forum.openwrt.org/viewtopic.php?pid=41152) SVN-Revision: 6150 --- .../patches/generic/123-flash_mirrorbit_hack.patch | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 openwrt/target/linux/linux-2.4/patches/generic/123-flash_mirrorbit_hack.patch diff --git a/openwrt/target/linux/linux-2.4/patches/generic/123-flash_mirrorbit_hack.patch b/openwrt/target/linux/linux-2.4/patches/generic/123-flash_mirrorbit_hack.patch deleted file mode 100644 index d9ef0f6d59..0000000000 --- a/openwrt/target/linux/linux-2.4/patches/generic/123-flash_mirrorbit_hack.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- linuz/drivers/mtd/chips/cfi_cmdset_0002.c 2004-12-03 05:56:56.000000000 +0300 -+++ linux/drivers/mtd/chips/cfi_cmdset_0002.c 2006-09-03 16:54:11.773175416 +0400 -@@ -129,7 +129,8 @@ - } /* CFI mode */ - - for (i=0; i< cfi->numchips; i++) { -- cfi->chips[i].word_write_time = 1<cfiq->WordWriteTimeoutTyp; -+ cfi->chips[i].word_write_time = 1<< /* mirrorbit hack */ -+ min(cfi->cfiq->WordWriteTimeoutTyp,cfi->cfiq->WordWriteTimeoutMax); - cfi->chips[i].buffer_write_time = 1<cfiq->BufWriteTimeoutTyp; - cfi->chips[i].erase_time = 1<cfiq->BlockEraseTimeoutTyp; - } -- 2.30.2