[PATCH 01/14] cmd: sf: Display errno on erase failure
Bin Meng
bmeng.cn at gmail.com
Mon Feb 1 06:06:00 CET 2021
On Mon, Feb 1, 2021 at 8:35 AM Sean Anderson <seanga2 at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
> cmd/sf.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list