summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilian Brune <maximilian.brune@9elements.com>2023-06-27 16:35:42 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-06-28 16:39:10 +0000
commitdd670893dc106ebe8b0969be3f08ba314eae51e6 (patch)
tree96a31232150ec23544f5ae7e6a522c3c1632fd2b
parentb72ecf89639e66c57d39beb0d63ef8d0d8f396c8 (diff)
mb/emulation: Enhance ROM_SIZE
Some payloads tend to need bigger space than what our current defaults allow. Linuxboot is a good example. Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com> Change-Id: I7029ca3360d936b67ff9873fa13cf9cc60445e56 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76106 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
-rw-r--r--src/mainboard/emulation/qemu-aarch64/Kconfig2
-rw-r--r--src/mainboard/emulation/qemu-q35/Kconfig3
-rw-r--r--src/mainboard/emulation/qemu-riscv/Kconfig2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/mainboard/emulation/qemu-aarch64/Kconfig b/src/mainboard/emulation/qemu-aarch64/Kconfig
index 940b89dc61..dcb4f237a8 100644
--- a/src/mainboard/emulation/qemu-aarch64/Kconfig
+++ b/src/mainboard/emulation/qemu-aarch64/Kconfig
@@ -12,7 +12,7 @@ config BOARD_SPECIFIC_OPTIONS
select ARCH_ROMSTAGE_ARMV8_64
select ARCH_RAMSTAGE_ARMV8_64
select ARM64_USE_ARCH_TIMER
- select BOARD_ROMSIZE_KB_4096
+ select BOARD_ROMSIZE_KB_16384
select BOOTBLOCK_CUSTOM
select BOOT_DEVICE_NOT_SPI_FLASH
select DRIVERS_UART_PL011
diff --git a/src/mainboard/emulation/qemu-q35/Kconfig b/src/mainboard/emulation/qemu-q35/Kconfig
index 3105069c29..489fd07dda 100644
--- a/src/mainboard/emulation/qemu-q35/Kconfig
+++ b/src/mainboard/emulation/qemu-q35/Kconfig
@@ -8,8 +8,7 @@ config BOARD_SPECIFIC_OPTIONS
select HAVE_OPTION_TABLE
# select HAVE_PIRQ_TABLE
select HAVE_ACPI_TABLES
- select BOARD_ROMSIZE_KB_2048 if !VBOOT
- select BOARD_ROMSIZE_KB_16384 if VBOOT
+ select BOARD_ROMSIZE_KB_16384
select MAINBOARD_HAS_NATIVE_VGA_INIT
select MAINBOARD_FORCE_NATIVE_VGA_INIT if !CHROMEOS
select MEMORY_MAPPED_TPM
diff --git a/src/mainboard/emulation/qemu-riscv/Kconfig b/src/mainboard/emulation/qemu-riscv/Kconfig
index 0af309a2cd..091c432ea0 100644
--- a/src/mainboard/emulation/qemu-riscv/Kconfig
+++ b/src/mainboard/emulation/qemu-riscv/Kconfig
@@ -24,7 +24,7 @@ if BOARD_EMULATION_QEMU_RISCV
config BOARD_SPECIFIC_OPTIONS
def_bool y
select SOC_UCB_RISCV
- select BOARD_ROMSIZE_KB_4096
+ select BOARD_ROMSIZE_KB_16384
select BOOT_DEVICE_NOT_SPI_FLASH
select MISSING_BOARD_RESET
select DRIVERS_UART_8250MEM