commit | cc19b1dc758f6e74a615e359e7f9187fb6caa3b6 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Thu Feb 04 23:11:06 2021 -0500 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Fri Feb 26 15:47:07 2021 +0530 |
tree | cd525af0147f9398958a86c7d426b3192c0a0360 | |
parent | c9ad0486a185375bf728e5f5d76dfa3c96441e80 [diff] |
cmd: sf: Display errno on erase failure If there is an error while erasing SPI flash, no errno is displayed. This makes it difficult to determine the cause of the error. This change mirrors the logic for write errors above. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Pratyush Yadav <p.yadav@ti.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>