aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/115-amd_flash_timeout.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-24 00:56:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-24 00:56:51 +0000
commit2c0304776750cd237cf009649eeb47c0f6c3fc23 (patch)
tree1829c461bdcea2eeaf8ee3745e729b6c49158e8d /target/linux/generic-2.4/patches/115-amd_flash_timeout.patch
parent4e1ac9d33d5b20205fbaec6bf50f71c834cb5041 (diff)
downloadupstream-2c0304776750cd237cf009649eeb47c0f6c3fc23.tar.gz
upstream-2c0304776750cd237cf009649eeb47c0f6c3fc23.tar.bz2
upstream-2c0304776750cd237cf009649eeb47c0f6c3fc23.zip
upgrade to linux 2.4.33.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.4/patches/115-amd_flash_timeout.patch')
-rw-r--r--target/linux/generic-2.4/patches/115-amd_flash_timeout.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/target/linux/generic-2.4/patches/115-amd_flash_timeout.patch b/target/linux/generic-2.4/patches/115-amd_flash_timeout.patch
deleted file mode 100644
index 188aa1c88a..0000000000
--- a/target/linux/generic-2.4/patches/115-amd_flash_timeout.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff -u linux-2.4.30/drivers/mtd/chips/cfi_cmdset_0002.c.orig linux-2.4.30/drivers/mtd/chips/cfi_cmdset_0002.c
---- linux-2.4.30/drivers/mtd/chips/cfi_cmdset_0002.c.orig 2004-11-17 12:54:21.000000000 +0100
-+++ linux-2.4.30/drivers/mtd/chips/cfi_cmdset_0002.c 2006-10-21 17:55:25.000000000 +0200
-@@ -510,7 +510,7 @@
- or tells us why it failed. */
- dq6 = CMD(1<<6);
- dq5 = CMD(1<<5);
-- timeo = jiffies + (HZ/1000); /* setting timeout to 1ms for now */
-+ timeo = jiffies + (HZ/1000) + 1; /* setting timeout to 1ms for now */
-
- oldstatus = cfi_read(map, adr);
- status = cfi_read(map, adr);
-@@ -547,7 +547,7 @@
- printk(KERN_WARNING "Internal flash device timeout occurred or write operation was performed while flash was programming.\n" );
- }
- } else {
-- printk(KERN_WARNING "Waiting for write to complete timed out in do_write_oneword.");
-+ printk(KERN_WARNING "Waiting for write to complete timed out in do_write_oneword.\n");
-
- chip->state = FL_READY;
- wake_up(&chip->wq);
-@@ -825,7 +825,7 @@
- chip->state = FL_READY;
- wake_up(&chip->wq);
- cfi_spin_unlock(chip->mutex);
-- printk("waiting for erase to complete timed out.");
-+ printk("waiting for erase to complete timed out.\n");
- DISABLE_VPP(map);
- return -EIO;
- }
-@@ -963,7 +963,7 @@
- }
- else
- {
-- printk( "Waiting for erase to complete timed out in do_erase_oneblock.");
-+ printk( "Waiting for erase to complete timed out in do_erase_oneblock.\n");
-
- chip->state = FL_READY;
- wake_up(&chip->wq);