]> git.sur5r.net Git - u-boot/commit
cfi_flash: don't hide write/erase errors
authorBaruch Siach <baruch@tkos.co.il>
Thu, 4 Sep 2014 09:23:09 +0000 (12:23 +0300)
committerStefan Roese <sr@denx.de>
Mon, 6 Oct 2014 12:12:12 +0000 (14:12 +0200)
commit91693055995733e268874ae75568ae316233e116
tree22b3314fa1cc3a11a6e7b597f5166b965d87e7c1
parentb966db0d7259293e2c9c216c7a5dce30dacacfd9
cfi_flash: don't hide write/erase errors

Partially revert commit 0d01f66d235118 (CFI: cfi_flash write fix for AMD
legacy).

flash_full_status_check() used to skip status register parsing when
flash_status_check() returns OK. This is wrong since flash_status_check()
must return OK for other status bits to be valid.

Cc: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c