mb/emulation/qemu: Configure TSEG size
commit0395b4b5f274e2cfd1d1073f5d221393d8d8e253
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Fri, 14 Jun 2024 15:07:29 +0000 (14 17:07 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 21 Jun 2024 15:52:24 +0000 (21 15:52 +0000)
tree38f0f446781366258034c7184d1e387346e36578
parentf40f5b6dd5274f02bb0c84d05ed1cf112e1187e6
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 <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83114
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
src/cpu/qemu-x86/Kconfig
src/mainboard/emulation/qemu-q35/romstage.c