[PATCH 10/38] x86: Show an error when a BINS exception occurs

Simon Glass sjg at chromium.org
Thu Mar 30 23:31:59 CEST 2023


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 at 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 = &reg_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



More information about the U-Boot mailing list