]> git.baikalelectronics.ru Git - uboot.git/commit
x86: spl: Use hang() instead of a while() loop
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:11:38 +0000 (08:11 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:35 +0000 (13:57 +0800)
commite9311e6a1f7169e2ed9bf560034475cfcfb24d31
tree98a91a8a362a6b0814f81ca17bf4a75430564af3
parent490bfb1f7769ff9c9b6bbc18cd2974c30735b66b
x86: spl: Use hang() instead of a while() loop

Use the standard hang() function when booting fails since this implements
the defined U-Boot behaviour for this situation.

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