mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-23 07:19:24 +02:00
U-Boot x86: Avoid clearing the VESA display
This is a patch from Simon Glass. U-Boot clears the display when it starts up, but was asking the VESA driver to do the same, needlessly; this patch avoids the latter. A further patch is also included, which provides a better message when jumping into long mode on the SPL (64-bit) target, dumping it on the serial console instead of using printf. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From d098961a91c8f410f50ae31e60300c0ef1f67075 Mon Sep 17 00:00:00 2001
|
||||
From: Simon Glass <sjg@chromium.org>
|
||||
Date: Tue, 12 Nov 2024 06:59:06 -0700
|
||||
Subject: [PATCH 2/2] x86: Drop the message about features missing in 64-bit
|
||||
|
||||
This functions normally and has done for a while, so drop this scary
|
||||
message.
|
||||
|
||||
Signed-off-by: Simon Glass <sjg@chromium.org>
|
||||
---
|
||||
arch/x86/lib/spl.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
|
||||
index f761fbc8bc..656f59ede0 100644
|
||||
--- a/arch/x86/lib/spl.c
|
||||
+++ b/arch/x86/lib/spl.c
|
||||
@@ -283,7 +283,7 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
|
||||
{
|
||||
int ret;
|
||||
|
||||
- printf("Jumping to 64-bit U-Boot: Note many features are missing\n");
|
||||
+ log_debug("Jumping to 64-bit U-Boot\n");
|
||||
ret = cpu_jump_to_64bit_uboot(spl_image->entry_point);
|
||||
debug("ret=%d\n", ret);
|
||||
hang();
|
||||
--
|
||||
2.39.5
|
||||
|
||||
Reference in New Issue
Block a user