diff options
author | amachronic <amachronic@protonmail.com> | 2021-04-06 01:10:01 +0100 |
---|---|---|
committer | amachronic <amachronic@protonmail.com> | 2021-04-06 17:27:12 +0100 |
commit | 28c89386af8ea9d002bcc25483233053fe0e7525 (patch) | |
tree | ac25a1cbf09d7bc2dadea89002943c722fbd8806 /apps | |
parent | b5558c1cf968f0fcff072456408b14f130f29ce3 (diff) |
x1000: Improve NAND driver API
- Proper error codes are now returned from all functions. These codes will
be used by a host-side flash tool for error reporting.
- nand_erase_block() was replaced by nand_erase_bytes(). The caller can't
know how big an eraseblock is with the current API, so next best thing
is to verify the correct alignment inside the call and reject the erase
if it isn't properly aligned.
- Fixed typo in nandcmd_block_erase() which would cause an SFC error to be
interpreted as success. Yikes.
Change-Id: Id4ac9b44fa7fc2fcb81ff19ba730df78457c0383
Diffstat (limited to 'apps')
0 files changed, 0 insertions, 0 deletions