x86: Panic when SPL or TPL fail
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:51 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 11 Oct 2019 08:45:05 +0000 (16:45 +0800)
commit3d95688c85aa26dea5d98e277d724aff571a1b4e
treefc59b3658480f1cdb7404bf3b52cb0f1a02631a4
parent548aefa5b9e5c31681e0a8bd78e96b66eedd1137
x86: Panic when SPL or TPL fail

At present when these fail to boot there is no message, just a hang. Add a
panic so it is obvious that something when wrong.

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