]> Git Repo - J-u-boot.git/commit - cmd/sf.c
cmd: sf: Display errno on erase failure
authorSean Anderson <[email protected]>
Fri, 5 Feb 2021 04:11:06 +0000 (23:11 -0500)
committerJagan Teki <[email protected]>
Fri, 26 Feb 2021 10:17:07 +0000 (15:47 +0530)
commit1bb8ca3b4b3debfa6b42f3430c81c00c3807cafe
treecd525af0147f9398958a86c7d426b3192c0a0360
parent90d76f812b29c88f47279eca034da70d30a798d9
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 <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
cmd/sf.c
This page took 0.031362 seconds and 4 git commands to generate.