commit | 707c146637befd154f1d2261b922bb9311a5c3e1 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Thu Dec 27 07:50:54 2007 +0100 |
committer | Stefan Roese <sr@denx.de> | Thu Dec 27 07:50:54 2007 +0100 |
tree | 462d51af6b15c7f8cdc14cbde27bd35b72de6ea7 | |
parent | d4ed6c78a212064487a7f110e15bd97c64a35806 [diff] |
cfi_flash: Add missing check for erased dest to flash_write_cfibuffer() The check for an sufficiently erased destination was missing in the buffered write function of the cfi flash driver (when CFG_FLASH_USE_BUFFER_WRITE is defined). This patch adds this check to that writing to such a region will fail with the currect error message. Signed-off-by: Stefan Roese <sr@denx.de>