]> git.dujemihanovic.xyz Git - u-boot.git/commit
cfi: fix the incomplete erased status check in buffer write
authorTao Hou <hotforest@gmail.com>
Thu, 15 Mar 2012 15:33:58 +0000 (23:33 +0800)
committerStefan Roese <sr@denx.de>
Wed, 21 Mar 2012 15:25:33 +0000 (16:25 +0100)
commit85c344e5f98408c0bcf988a6c6fca68c1f3c2015
tree680bde6c373aa08a83bfbc19143f65772ac06036
parentdbb87bbd8eff11cf974caa2b5cc397aea444bc5a
cfi: fix the incomplete erased status check in buffer write

Without the fix, flash_write_cfibuffer will terminate the erased
status check once an all-0xFF word has been found instead of
continuing the erased status check utill the first non-0xFF word.

Signed-off-by: Tao Hou <hotforest@gmail.com>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c