]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
spi: sf: Print the error code on failure
authorSimon Glass <sjg@chromium.org>
Sun, 7 Jun 2015 14:50:32 +0000 (08:50 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:29:21 +0000 (13:29 +0200)
commit1b06211c88351570ceb68090fca7b68fe048eeb9
treeea9324f0a3cc45f25f728b999bf3f008c61c7036
parent13095552018b8a6d926ea922b51dc0114921f5e2
spi: sf: Print the error code on failure

Rather than just 'ERROR', display the error code, which may be useful, at
least with driver model.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
common/cmd_sf.c