spl: spi: Add a debug message if loading fails
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:27 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commita704490034c94b87bfe3fa992cc50b9a017b9d2b
treea2ab97aa2b32850e336ea16792b02feb58540374
parentb0265429469dde300e3dc2a2c1dce789014c7208
spl: spi: Add a debug message if loading fails

This currently fails silently. Add a debug message to aid debugging.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/spl/spl_spi.c