]> git.dujemihanovic.xyz Git - u-boot.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)
committerSimon Glass <sjg@chromium.org>
Wed, 15 Jul 2015 00:03:15 +0000 (18:03 -0600)
commita7d0711a2486b7420a938831512d859879e613cb
tree2065769204ee3ab7a23189d3b1513f28bf55792e
parentaefaff8ed83472da5ba96e179231eee665e2d843
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