diff options
author | Maciej Pijanowski <maciej.pijanowski@3mdeb.com> | 2024-01-18 22:36:06 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-01-22 12:15:11 +0000 |
commit | 71981cc3b95000b3f9305daa1ca2f733df538a49 (patch) | |
tree | 436fd6123dbf353827fb26c0bab43c9dc7a2993f /src/mainboard | |
parent | 91759029bbc39d1c21e96370372a793746782193 (diff) |
mainboard/Kconfig: add 24MB ROM size
16MB + 8MB flashes are used on some boards, such as Lenovo M920
Change-Id: Iac6e076ed17d7e944cc829ff0cb27ede50c6f7db
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80072
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Kopeć <michal.kopec@3mdeb.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig index aec996ab0b..ec4ae8fc2b 100644 --- a/src/mainboard/Kconfig +++ b/src/mainboard/Kconfig @@ -44,6 +44,8 @@ config BOARD_ROMSIZE_KB_12288 bool config BOARD_ROMSIZE_KB_16384 bool +config BOARD_ROMSIZE_KB_24576 + bool config BOARD_ROMSIZE_KB_32768 bool config BOARD_ROMSIZE_KB_65536 @@ -63,6 +65,7 @@ choice default COREBOOT_ROMSIZE_KB_10240 if BOARD_ROMSIZE_KB_10240 default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288 default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384 + default COREBOOT_ROMSIZE_KB_24576 if BOARD_ROMSIZE_KB_24576 default COREBOOT_ROMSIZE_KB_32768 if BOARD_ROMSIZE_KB_32768 default COREBOOT_ROMSIZE_KB_65536 if BOARD_ROMSIZE_KB_65536 help @@ -126,6 +129,11 @@ config COREBOOT_ROMSIZE_KB_16384 help Choose this option if you have a 16384 KB (16 MB) ROM chip. +config COREBOOT_ROMSIZE_KB_24576 + bool "24576 KB (24 MB)" + help + Choose this option if you have a 24576 KB (24 MB) ROM chip. + config COREBOOT_ROMSIZE_KB_32768 bool "32768 KB (32 MB)" help @@ -152,6 +160,7 @@ config COREBOOT_ROMSIZE_KB default 10240 if COREBOOT_ROMSIZE_KB_10240 default 12288 if COREBOOT_ROMSIZE_KB_12288 default 16384 if COREBOOT_ROMSIZE_KB_16384 + default 24576 if COREBOOT_ROMSIZE_KB_24576 default 32768 if COREBOOT_ROMSIZE_KB_32768 default 65536 if COREBOOT_ROMSIZE_KB_65536 @@ -169,6 +178,7 @@ config ROM_SIZE default 0x00a00000 if COREBOOT_ROMSIZE_KB_10240 default 0x00c00000 if COREBOOT_ROMSIZE_KB_12288 default 0x01000000 if COREBOOT_ROMSIZE_KB_16384 + default 0x01800000 if COREBOOT_ROMSIZE_KB_24576 default 0x02000000 if COREBOOT_ROMSIZE_KB_32768 default 0x04000000 if COREBOOT_ROMSIZE_KB_65536 |