Skip to content
Commit 91693055 authored by Baruch Siach's avatar Baruch Siach Committed by Stefan Roese
Browse files

cfi_flash: don't hide write/erase errors



Partially revert commit 0d01f66d (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: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent b966db0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment