PATCH for drivers/cfi_flash.c
This patch reworks the patch submitted on May 6, 2005:
Ref: http://sourceforge.net/mailarchive/message.php?msg_id=11674386
This patch (cfi_flash.patch.tolunay) is prepared against current CVS version + Peter Pearse Patch dated March 15, 2005.
Ref: http://sourceforge.net/mailarchive/message.php?msg_id=11164812
CHANGELOG:
* Patch by Tolunay Orkun, 02 July 2005:
Fixes for drivers/cfi_flash.c:
- Fix wrong timeout value usage in flash_status_check()
- Round write_tout up when converting to msec in flash_get_size()
- Remove clearing flash status at the end of flash_write_cfibuffer() which sets Intel 28F640J3 flash back to command mode on CSB472
~~~
In case Peter's Patch is rejected for some reason please apply the alternate patch (cfi_flash.patch.tolunay2) instead. It makes one additional fix that I had submitted in my original patch.
CHANGELOG (Alternate)
* Patch by Tolunay Orkun, 02 July 2005:
Fixes for drivers/cfi_flash.c:
- Fix wrong timeout value usage in flash_status_check()
- Round write_tout up when converting to msec in flash_get_size()
- Remove clearing flash status at the end of flash_write_cfibuffer() which sets Intel 28F640J3 flash back to command mode on CSB472
- Fix incorrect if condition in flash_full_status_check()
Best regards,
Tolunay Orkun
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cfi_flash.patch.tolunay
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050702/265535cc/attachment.txt
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cfi_flash.patch.tolunay2
Url: http://lists.denx.de/pipermail/u-boot/attachments/20050702/265535cc/attachment-0001.txt
Wolfgang Denk
AppliedQuoted 9 lines · In message <[email protected]> you wrote:
CHANGELOG:
* Patch by Tolunay Orkun, 02 July 2005:
Fixes fordrivers/cfi_flash.c:
- Fix wrong timeout value usage inflash_status_check()
- Roundwrite_toutup when converting to msec inflash_get_size()
- Remove clearing flash status at the end offlash_write_cfibuffer()which sets Intel 28F640J3 flash back to command mode on CSB472
Applied. Thanks.
Best regards,
Wolfgang Denk
Signature · 3 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "The whole world is about three drinks behind." - Humphrey Bogart