summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2019-12-14 16:16:31 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-17 13:06:35 +0000
commit50a445489225b94339adc15fe8d1b6c3fa57b095 (patch)
tree77de8122a9f1d7dbe36e3458b13810d5be5bcbe3 /src/mainboard
parenta4e9395979b73182fa2b944271e4436c812f4e91 (diff)
src/mb/Kconfig: add BOARD_ROMSIZE_KB_5120
Mainboards exist with a 4+1 MiB flash chip combination. Change-Id: I214553a2c70e1a4a0e4d972fee5e524b609bb1e0 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37729 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 97086b7cd6..a3895e9dc9 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -28,6 +28,8 @@ config BOARD_ROMSIZE_KB_2048
bool
config BOARD_ROMSIZE_KB_4096
bool
+config BOARD_ROMSIZE_KB_5120
+ bool
config BOARD_ROMSIZE_KB_6144
bool
config BOARD_ROMSIZE_KB_8192
@@ -53,6 +55,7 @@ choice
default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
+ default COREBOOT_ROMSIZE_KB_5120 if BOARD_ROMSIZE_KB_5120
default COREBOOT_ROMSIZE_KB_6144 if BOARD_ROMSIZE_KB_6144
default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
default COREBOOT_ROMSIZE_KB_10240 if BOARD_ROMSIZE_KB_10240
@@ -101,6 +104,11 @@ config COREBOOT_ROMSIZE_KB_4096
help
Choose this option if you have a 4096 KB (4 MB) ROM chip.
+config COREBOOT_ROMSIZE_KB_5120
+ bool "5120 KB (5 MB)"
+ help
+ Choose this option if you have a 5120 KB (5 MB) ROM chip.
+
config COREBOOT_ROMSIZE_KB_6144
bool "6144 KB (6 MB)"
help
@@ -148,6 +156,7 @@ config COREBOOT_ROMSIZE_KB
default 1024 if COREBOOT_ROMSIZE_KB_1024
default 2048 if COREBOOT_ROMSIZE_KB_2048
default 4096 if COREBOOT_ROMSIZE_KB_4096
+ default 5120 if COREBOOT_ROMSIZE_KB_5120
default 6144 if COREBOOT_ROMSIZE_KB_6144
default 8192 if COREBOOT_ROMSIZE_KB_8192
default 10240 if COREBOOT_ROMSIZE_KB_10240
@@ -166,6 +175,7 @@ config ROM_SIZE
default 0x100000 if COREBOOT_ROMSIZE_KB_1024
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
default 0x400000 if COREBOOT_ROMSIZE_KB_4096
+ default 0x500000 if COREBOOT_ROMSIZE_KB_5120
default 0x600000 if COREBOOT_ROMSIZE_KB_6144
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
default 0xa00000 if COREBOOT_ROMSIZE_KB_10240