summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2020-09-26 11:44:47 +0200
committerNico Huber <nico.h@gmx.de>2020-09-27 15:31:39 +0000
commit666c4caccb2b50781f5de3044ae4b51e4c0e2960 (patch)
tree248cc8805dac86d158cf9d682b1239aad22d2cd5
parent458e7dff6db07c00a085514125abbd7467298fc6 (diff)
mb/Kconfig: Drop ROM sizes below 256KiB
Not even our emulation targets can build with these anymore. Change-Id: If108a17f824a31c375a43cb4903ee07c65217f6e Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45753 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/Kconfig20
-rw-r--r--src/mainboard/emulation/qemu-riscv/Kconfig2
2 files changed, 0 insertions, 22 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 77fcba16e6..af685db17a 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -13,10 +13,6 @@ source "src/mainboard/*/Kconfig"
config MAINBOARD_VENDOR
string "Mainboard vendor name"
-config BOARD_ROMSIZE_KB_64
- bool
-config BOARD_ROMSIZE_KB_128
- bool
config BOARD_ROMSIZE_KB_256
bool
config BOARD_ROMSIZE_KB_512
@@ -47,8 +43,6 @@ config BOARD_ROMSIZE_KB_65536
# TODO: No help text possible for choice fields?
choice
prompt "ROM chip size"
- default COREBOOT_ROMSIZE_KB_64 if BOARD_ROMSIZE_KB_64
- default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128
default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256
default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
@@ -68,16 +62,6 @@ choice
The build system will take care of creating a coreboot.rom file
of the matching size.
-config COREBOOT_ROMSIZE_KB_64
- bool "64 KB"
- help
- Choose this option if you have a 64 KB ROM chip.
-
-config COREBOOT_ROMSIZE_KB_128
- bool "128 KB"
- help
- Choose this option if you have a 128 KB ROM chip.
-
config COREBOOT_ROMSIZE_KB_256
bool "256 KB"
help
@@ -148,8 +132,6 @@ endchoice
# Map the config names to an integer (KB).
config COREBOOT_ROMSIZE_KB
int
- default 64 if COREBOOT_ROMSIZE_KB_64
- default 128 if COREBOOT_ROMSIZE_KB_128
default 256 if COREBOOT_ROMSIZE_KB_256
default 512 if COREBOOT_ROMSIZE_KB_512
default 1024 if COREBOOT_ROMSIZE_KB_1024
@@ -167,8 +149,6 @@ config COREBOOT_ROMSIZE_KB
# Map the config names to a hex value (bytes).
config ROM_SIZE
hex
- default 0x00010000 if COREBOOT_ROMSIZE_KB_64
- default 0x00020000 if COREBOOT_ROMSIZE_KB_128
default 0x00040000 if COREBOOT_ROMSIZE_KB_256
default 0x00080000 if COREBOOT_ROMSIZE_KB_512
default 0x00100000 if COREBOOT_ROMSIZE_KB_1024
diff --git a/src/mainboard/emulation/qemu-riscv/Kconfig b/src/mainboard/emulation/qemu-riscv/Kconfig
index 5b556fc190..ee0f337f6d 100644
--- a/src/mainboard/emulation/qemu-riscv/Kconfig
+++ b/src/mainboard/emulation/qemu-riscv/Kconfig
@@ -57,8 +57,6 @@ config OPENSBI_PLATFORM
# ugly, but CBFS is placed in DRAM...
config OPENSBI_TEXT_START
hex
- default 0x80010000 if COREBOOT_ROMSIZE_KB_64
- default 0x80020000 if COREBOOT_ROMSIZE_KB_128
default 0x80040000 if COREBOOT_ROMSIZE_KB_256
default 0x80080000 if COREBOOT_ROMSIZE_KB_512
default 0x80100000 if COREBOOT_ROMSIZE_KB_1024