]> git.baikalelectronics.ru Git - uboot.git/commit
x86: spl: Print the error on SPL failure
authorSimon Glass <sjg@chromium.org>
Wed, 27 May 2020 12:58:48 +0000 (06:58 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 2 Jun 2020 01:16:13 +0000 (09:16 +0800)
commit066f1359c95005bb8565fa42237bde3f87af93c2
tree57fdce13834d30219a0a175c0de86110b8fd6d53
parent08df8a6605e6ec699826dcdf4b0823b9cd593581
x86: spl: Print the error on SPL failure

The error code is often useful to figure out what is going on. Printing it
does not increase code size much, so print out the error and then hang.

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