From: Felix Fietkau Date: Sun, 21 Jan 2007 00:04:18 +0000 (+0000) Subject: revert oleg's flash mirrorbit hack - it's actually causing problems on the WL-500gP... X-Git-Tag: whiterussian_0.9~11 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a1731024c59b99e638e3a18c6ff1f0f7b52156b6;p=openwrt%2Fsvn-archive%2Fopenwrt.git revert oleg's flash mirrorbit hack - it's actually causing problems on the WL-500gP (see forum.openwrt.org/viewtopic.php?pid=41152) SVN-Revision: 6150 --- 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; - }