aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/spl.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-08-21 17:32:17 -0400
committerTom Rini <trini@konsulko.com>2023-08-21 17:32:17 -0400
commit7e6e40c572332b3835c5cb48a08e1d8d404c871c (patch)
treecf8ebf03fbe72c1334880f75fe2c9f71c7bb95ff /arch/x86/lib/spl.c
parent3881c9fbb7fdd98f6eae5cd33f7e9abe9455a585 (diff)
parent976fb2ffa3875a7bed9866bf5cf939a81c423ef8 (diff)
Merge tag 'v2023.10-rc3' into next
Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/x86/lib/spl.c')
-rw-r--r--arch/x86/lib/spl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index 73512d3d4c..58fa572b71 100644
--- a/arch/x86/lib/spl.c
+++ b/arch/x86/lib/spl.c
@@ -27,6 +27,7 @@
#include <asm/mtrr.h>
#include <asm/pci.h>
#include <asm/processor.h>
+#include <asm/qemu.h>
#include <asm/spl.h>
#include <asm-generic/sections.h>
@@ -137,7 +138,6 @@ static int x86_spl_init(void)
}
#ifndef CONFIG_SYS_COREBOOT
- log_debug("bss\n");
debug("BSS clear from %lx to %lx len %lx\n", (ulong)__bss_start,
(ulong)__bss_end, (ulong)__bss_end - (ulong)__bss_start);
memset(__bss_start, 0, (ulong)__bss_end - (ulong)__bss_start);
@@ -292,6 +292,8 @@ void spl_board_init(void)
#ifndef CONFIG_TPL
preloader_console_init();
#endif
+ if (IS_ENABLED(CONFIG_QEMU))
+ qemu_chipset_init();
if (CONFIG_IS_ENABLED(VIDEO)) {
struct udevice *dev;