From 50a445489225b94339adc15fe8d1b6c3fa57b095 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sat, 14 Dec 2019 16:16:31 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/37729 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Nico Huber --- src/mainboard/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') 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 -- cgit v1.2.3