coreboot/src/mainboard/emulation
Krystian Hebel 42c8ae73a3 mb/qemu-{i440fx,q35}: reduce default ROM size to 8 MiB
By default, QEMU bails when trying to use bigger images mounted with
'-drive if=pflash', which is required to make use of writable flash
introduced in CB:82555. This changes both default size in Kconfig as
well as FMAP layouts.

Since QEMU 5.0.0 it is possible to change the limit of firmware size
with `max-fw-size` machine configuration option, up to 16 MiB, as bigger
sizes would overlap with IO APIC memory range. Default is still 8 MiB,
so it makes sense to have identical default in coreboot.

Error thrown by QEMU when trying to use too big ROM:

qemu-system-x86_64: combined size of system firmware exceeds 8388608 bytes

Change-Id: If36cb754a8e75e23bce49ff568dd88e5db279bb8
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82639
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
2024-08-30 15:44:33 +00:00
..
qemu-aarch64 mb/qemu-aarch64: Fix include path for device_tree.h 2024-08-16 19:16:56 +00:00
qemu-armv7 mb/cavium to mb/foxcomm: Add SPDX license headers to Kconfig files 2024-02-18 02:01:17 +00:00
qemu-i440fx mb/qemu-{i440fx,q35}: reduce default ROM size to 8 MiB 2024-08-30 15:44:33 +00:00
qemu-power8 mb/emulation: Remove blank lines before '}' and after '{' 2024-03-30 07:45:04 +00:00
qemu-power9 mb/cavium to mb/foxcomm: Add SPDX license headers to Kconfig files 2024-02-18 02:01:17 +00:00
qemu-q35 mb/qemu-{i440fx,q35}: reduce default ROM size to 8 MiB 2024-08-30 15:44:33 +00:00
qemu-riscv arch/riscv: Remove ram probing 2024-08-20 12:54:12 +00:00
qemu-sbsa treewide: Move device_tree to commonlib 2024-06-22 04:02:04 +00:00
spike-riscv mb/cavium to mb/foxcomm: Add SPDX license headers to Kconfig files 2024-02-18 02:01:17 +00:00
Kconfig mainboard/emulation/qemu-sbsa: Add qemu-sbsa board 2024-06-08 20:41:14 +00:00
Kconfig.name mb/cavium to mb/foxcomm: Add SPDX license headers to Kconfig files 2024-02-18 02:01:17 +00:00