[U-Boot-Users] PATCH for drivers/cfi_flash.c

Tolunay Orkun
2005-07-03T00:50:27Z

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