From 77ef938212b1b273389ea1560b999e79a6c285b3 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 3 Sep 2025 09:05:01 +0200 Subject: [PATCH] configs: Fix crash on coreboot x86 Booting u-boot as payload with coreboot's main branch is currently broken since commit [1] on x86 as U-boot assumes the active GDT matches what U-Boot would have installed in start16.S. Make no assumptions and always load the GDT when building as coreboot payload to make sure the segment registers are actually matching the GDT. Fixes #GP seen when booting U-Boot as coreboot payload. 1: https://review.coreboot.org/c/coreboot/+/87255 Signed-off-by: Patrick Rudolph Link: https://review.coreboot.org/c/coreboot/+/87255 Reviewed-by: Tom Rini --- configs/coreboot_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/coreboot_defconfig b/configs/coreboot_defconfig index dfb97a3d302..033746e4f91 100644 --- a/configs/coreboot_defconfig +++ b/configs/coreboot_defconfig @@ -66,3 +66,4 @@ CONFIG_CONSOLE_SCROLL_LINES=5 CONFIG_CMD_DHRYSTONE=y # CONFIG_GZIP is not set CONFIG_SMBIOS_PARSER=y +CONFIG_X86_LOAD_FROM_32_BIT=y -- 2.47.3