]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: sf: Print error on test failure
authorSean Anderson <seanga2@gmail.com>
Fri, 5 Feb 2021 04:11:07 +0000 (23:11 -0500)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 26 Feb 2021 10:18:00 +0000 (15:48 +0530)
commit61c04c1d44dff3b39e3546fadfa51e60c910d372
tree338d2bab8fb8d26a213d4a94aa9812571d892704
parent02e2798b3188c87910e6843a827af9fb3d578ee5
cmd: sf: Print error on test failure

The sf test command is used to test spi flashes (and spi masters). Printing
the exact error code is very helpful to those debugging the spi stack.

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>
cmd/sf.c