diff options
author | John Crispin <blogic@openwrt.org> | 2010-05-26 15:53:05 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2010-05-26 15:53:05 +0000 |
commit | 02c3a2aa5315929371d85e336bee9e5760f94be2 (patch) | |
tree | 7fc67d2adb35c242cf55a4faab936a0578c23ca0 /target/linux/ramips/patches-2.6.34/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch | |
parent | 170a61520f042f2712f8dc8affebc0796e46fca6 (diff) | |
download | upstream-02c3a2aa5315929371d85e336bee9e5760f94be2.tar.gz upstream-02c3a2aa5315929371d85e336bee9e5760f94be2.tar.bz2 upstream-02c3a2aa5315929371d85e336bee9e5760f94be2.zip |
[ramips] update to 2.6.34, signed of by russiane39, thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21573 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/patches-2.6.34/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch')
-rw-r--r-- | target/linux/ramips/patches-2.6.34/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-2.6.34/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch b/target/linux/ramips/patches-2.6.34/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch new file mode 100644 index 0000000000..a4fb2352f2 --- /dev/null +++ b/target/linux/ramips/patches-2.6.34/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch @@ -0,0 +1,20 @@ +--- a/drivers/mtd/chips/cfi_cmdset_0002.c ++++ b/drivers/mtd/chips/cfi_cmdset_0002.c +@@ -1557,7 +1557,7 @@ static int __xipram do_erase_chip(struct + chip->erase_suspended = 0; + } + +- if (chip_ready(map, adr)) ++ if (chip_good(map, adr, map_word_ff(map))) + break; + + if (time_after(jiffies, timeo)) { +@@ -1645,7 +1645,7 @@ static int __xipram do_erase_oneblock(st + chip->erase_suspended = 0; + } + +- if (chip_ready(map, adr)) { ++ if (chip_good(map, adr, map_word_ff(map))) { + xip_enable(map, chip, adr); + break; + } |