From e76ce871c8f84aef38fbf9df9c8bee3c10c085d7 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Mon, 25 May 2020 08:52:07 +0300 Subject: arch/x86: Remove most C_ENV_BOOTBLOCK_SIZE limits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With top-aligned bootblock this is no longer globally needed. The default maximum is now a generous 256 KiB with couple platforms having lower limits of 32 KiB and 64 KiB. Change-Id: Ib1aee44908c0dcbc17978d3ee53bd05a6200410c Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/47600 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/mainboard/aopen/dxplplusu/Kconfig | 4 ---- src/mainboard/emulation/qemu-i440fx/Kconfig | 2 +- src/mainboard/emulation/qemu-q35/Kconfig | 4 ---- src/mainboard/facebook/fbg1701/Kconfig | 4 ---- src/mainboard/portwell/m107/Kconfig | 4 ---- 5 files changed, 1 insertion(+), 17 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/aopen/dxplplusu/Kconfig b/src/mainboard/aopen/dxplplusu/Kconfig index 0036915392..4ee9b73bdd 100644 --- a/src/mainboard/aopen/dxplplusu/Kconfig +++ b/src/mainboard/aopen/dxplplusu/Kconfig @@ -26,8 +26,4 @@ config MAX_CPUS int default 4 -config C_ENV_BOOTBLOCK_SIZE - hex - default 0x4000 - endif # BOARD_AOPEN_DXPLPLUSU diff --git a/src/mainboard/emulation/qemu-i440fx/Kconfig b/src/mainboard/emulation/qemu-i440fx/Kconfig index 1b618718b3..9b990ce908 100644 --- a/src/mainboard/emulation/qemu-i440fx/Kconfig +++ b/src/mainboard/emulation/qemu-i440fx/Kconfig @@ -76,7 +76,7 @@ config DCACHE_RAM_SIZE config C_ENV_BOOTBLOCK_SIZE hex - default 0x4000 + default 0x10000 config DCACHE_BSP_STACK_SIZE hex diff --git a/src/mainboard/emulation/qemu-q35/Kconfig b/src/mainboard/emulation/qemu-q35/Kconfig index d88d0da7ff..5a77ded9b3 100644 --- a/src/mainboard/emulation/qemu-q35/Kconfig +++ b/src/mainboard/emulation/qemu-q35/Kconfig @@ -85,10 +85,6 @@ config HAVE_INTEL_FIRMWARE bool default n -config C_ENV_BOOTBLOCK_SIZE - hex - default 0x4000 - config DCACHE_BSP_STACK_SIZE hex default 0x4000 diff --git a/src/mainboard/facebook/fbg1701/Kconfig b/src/mainboard/facebook/fbg1701/Kconfig index 9e7ab69aac..e01f979dfc 100644 --- a/src/mainboard/facebook/fbg1701/Kconfig +++ b/src/mainboard/facebook/fbg1701/Kconfig @@ -92,10 +92,6 @@ config TPM_INIT bool "TPM Setup in RAMSTAGE" default n -config C_ENV_BOOTBLOCK_SIZE - hex "C Bootblock Size" - default 0x4000 - config VENDORCODE_ELTAN_VBOOT_SIGNED_MANIFEST depends on USE_VENDORCODE_ELTAN bool diff --git a/src/mainboard/portwell/m107/Kconfig b/src/mainboard/portwell/m107/Kconfig index bc06151633..3935b38e80 100644 --- a/src/mainboard/portwell/m107/Kconfig +++ b/src/mainboard/portwell/m107/Kconfig @@ -63,8 +63,4 @@ config SPI_FLASH_WINBOND bool default y -config C_ENV_BOOTBLOCK_SIZE - hex "C Bootblock Size" - default 0x4000 - endif # BOARD_PORTWELL_M107 -- cgit v1.2.3