summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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