diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2025-09-03 09:05:01 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-09-08 14:28:09 -0600 |
commit | 77ef938212b1b273389ea1560b999e79a6c285b3 (patch) | |
tree | c2f39bc1afccf7fdc78550d9cd51a5605dbaabc3 /arch/arm/mach-socfpga/timer.c | |
parent | 7a4f3c5652157cbb3d26a7728bfe537ea483efc9 (diff) |
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 <patrick.rudolph@9elements.com>
Link: https://review.coreboot.org/c/coreboot/+/87255
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-socfpga/timer.c')
0 files changed, 0 insertions, 0 deletions