From 0395b4b5f274e2cfd1d1073f5d221393d8d8e253 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Fri, 14 Jun 2024 17:07:29 +0200 Subject: mb/emulation/qemu: Configure TSEG size Configure TSEG size by reading CONFIG_SMM_TSEG_SIZE in romstage. The remaining Qemu code can already handle the bigger TSEG region. TEST: Increased TSEG to 8MiB. Change-Id: I1ae5ac93ecca83ae9c319c666aac844bbd5b259f Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/83114 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/cpu/qemu-x86/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cpu/qemu-x86') diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig index 221a7bae45..e1469d6f1e 100644 --- a/src/cpu/qemu-x86/Kconfig +++ b/src/cpu/qemu-x86/Kconfig @@ -31,6 +31,11 @@ config CPU_QEMU_X86_TSEG_SMM endchoice +config SMM_TSEG_SIZE + hex + depends on SMM_TSEG + default 0x100000 + config MAX_CPUS int default 32 if SMM_TSEG -- cgit v1.2.3