
30 Mar
2023
30 Mar
'23
11:31 p.m.
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 ---
arch/x86/lib/bios.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/x86/lib/bios.c b/arch/x86/lib/bios.c index 94349ba8073d..b28db31308f0 100644 --- a/arch/x86/lib/bios.c +++ b/arch/x86/lib/bios.c @@ -78,7 +78,8 @@ static int int_exception_handler(void) }; struct eregs *regs = ®_info;
- debug("Oops, exception %d while executing option rom\n", regs->vector); + log_err("Oops, exception %d while executing option rom\n", + regs->vector); cpu_hlt();
return 0;
--
2.40.0.348.gf938b09366-goog