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>
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 77fcba1..af685db 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -13,10 +13,6 @@
 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 @@
 # 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 @@
 	  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 @@
 # 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 @@
 # 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 5b556fc..ee0f337 100644
--- a/src/mainboard/emulation/qemu-riscv/Kconfig
+++ b/src/mainboard/emulation/qemu-riscv/Kconfig
@@ -57,8 +57,6 @@
 # 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