aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-15 21:38:44 -0600
committerBin Meng <bmeng@tinylab.org>2023-07-17 17:08:44 +0800
commit78f24d8f3415a9ceec993231b81efaa30e2a3cdc (patch)
tree64b9aec8ef54824171893614d9de9b4f5140f5ec /arch/x86/lib
parent67884002f48ecf9e39f9402bc3866c8674ada563 (diff)
downloadu-boot-78f24d8f3415a9ceec993231b81efaa30e2a3cdc.zip
u-boot-78f24d8f3415a9ceec993231b81efaa30e2a3cdc.tar.gz
u-boot-78f24d8f3415a9ceec993231b81efaa30e2a3cdc.tar.bz2
x86: Show an error when a BIOS exception occurs
Rather than silently hanging, show an error first. This can happen when there is something wrong with the video BIOS. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/bios.c b/arch/x86/lib/bios.c
index 94349ba..8cc686f 100644
--- a/arch/x86/lib/bios.c
+++ b/arch/x86/lib/bios.c
@@ -78,7 +78,7 @@ static int int_exception_handler(void)
};
struct eregs *regs = &reg_info;
- debug("Oops, exception %d while executing option rom\n", regs->vector);
+ log_err("Exception %d while executing option rom\n", regs->vector);
cpu_hlt();
return 0;