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>
This commit is contained in:
parent
458e7dff6d
commit
666c4caccb
2 changed files with 0 additions and 22 deletions
|
@ -13,10 +13,6 @@ source "src/mainboard/*/Kconfig"
|
||||||
config MAINBOARD_VENDOR
|
config MAINBOARD_VENDOR
|
||||||
string "Mainboard vendor name"
|
string "Mainboard vendor name"
|
||||||
|
|
||||||
config BOARD_ROMSIZE_KB_64
|
|
||||||
bool
|
|
||||||
config BOARD_ROMSIZE_KB_128
|
|
||||||
bool
|
|
||||||
config BOARD_ROMSIZE_KB_256
|
config BOARD_ROMSIZE_KB_256
|
||||||
bool
|
bool
|
||||||
config BOARD_ROMSIZE_KB_512
|
config BOARD_ROMSIZE_KB_512
|
||||||
|
@ -47,8 +43,6 @@ config BOARD_ROMSIZE_KB_65536
|
||||||
# TODO: No help text possible for choice fields?
|
# TODO: No help text possible for choice fields?
|
||||||
choice
|
choice
|
||||||
prompt "ROM chip size"
|
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_256 if BOARD_ROMSIZE_KB_256
|
||||||
default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
|
default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
|
||||||
default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
|
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
|
The build system will take care of creating a coreboot.rom file
|
||||||
of the matching size.
|
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
|
config COREBOOT_ROMSIZE_KB_256
|
||||||
bool "256 KB"
|
bool "256 KB"
|
||||||
help
|
help
|
||||||
|
@ -148,8 +132,6 @@ endchoice
|
||||||
# Map the config names to an integer (KB).
|
# Map the config names to an integer (KB).
|
||||||
config COREBOOT_ROMSIZE_KB
|
config COREBOOT_ROMSIZE_KB
|
||||||
int
|
int
|
||||||
default 64 if COREBOOT_ROMSIZE_KB_64
|
|
||||||
default 128 if COREBOOT_ROMSIZE_KB_128
|
|
||||||
default 256 if COREBOOT_ROMSIZE_KB_256
|
default 256 if COREBOOT_ROMSIZE_KB_256
|
||||||
default 512 if COREBOOT_ROMSIZE_KB_512
|
default 512 if COREBOOT_ROMSIZE_KB_512
|
||||||
default 1024 if COREBOOT_ROMSIZE_KB_1024
|
default 1024 if COREBOOT_ROMSIZE_KB_1024
|
||||||
|
@ -167,8 +149,6 @@ config COREBOOT_ROMSIZE_KB
|
||||||
# Map the config names to a hex value (bytes).
|
# Map the config names to a hex value (bytes).
|
||||||
config ROM_SIZE
|
config ROM_SIZE
|
||||||
hex
|
hex
|
||||||
default 0x00010000 if COREBOOT_ROMSIZE_KB_64
|
|
||||||
default 0x00020000 if COREBOOT_ROMSIZE_KB_128
|
|
||||||
default 0x00040000 if COREBOOT_ROMSIZE_KB_256
|
default 0x00040000 if COREBOOT_ROMSIZE_KB_256
|
||||||
default 0x00080000 if COREBOOT_ROMSIZE_KB_512
|
default 0x00080000 if COREBOOT_ROMSIZE_KB_512
|
||||||
default 0x00100000 if COREBOOT_ROMSIZE_KB_1024
|
default 0x00100000 if COREBOOT_ROMSIZE_KB_1024
|
||||||
|
|
|
@ -57,8 +57,6 @@ config OPENSBI_PLATFORM
|
||||||
# ugly, but CBFS is placed in DRAM...
|
# ugly, but CBFS is placed in DRAM...
|
||||||
config OPENSBI_TEXT_START
|
config OPENSBI_TEXT_START
|
||||||
hex
|
hex
|
||||||
default 0x80010000 if COREBOOT_ROMSIZE_KB_64
|
|
||||||
default 0x80020000 if COREBOOT_ROMSIZE_KB_128
|
|
||||||
default 0x80040000 if COREBOOT_ROMSIZE_KB_256
|
default 0x80040000 if COREBOOT_ROMSIZE_KB_256
|
||||||
default 0x80080000 if COREBOOT_ROMSIZE_KB_512
|
default 0x80080000 if COREBOOT_ROMSIZE_KB_512
|
||||||
default 0x80100000 if COREBOOT_ROMSIZE_KB_1024
|
default 0x80100000 if COREBOOT_ROMSIZE_KB_1024
|
||||||
|
|
Loading…
Reference in a new issue