mainboard/Kconfig: add option for a 6144 KB(6 MB) ROM size

Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com>
Change-Id: I7a1949c3512528b6b73955d907efc21728eed739
Reviewed-on: https://review.coreboot.org/c/coreboot/+/30980
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kacper Słomiński 2019-01-17 22:36:32 +01:00 committed by Felix Held
parent 66bcc3101e
commit 0d4f95be46
1 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,8 @@ config BOARD_ROMSIZE_KB_2048
bool
config BOARD_ROMSIZE_KB_4096
bool
config BOARD_ROMSIZE_KB_6144
bool
config BOARD_ROMSIZE_KB_8192
bool
config BOARD_ROMSIZE_KB_10240
@ -47,6 +49,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_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
default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288
@ -94,6 +97,11 @@ config COREBOOT_ROMSIZE_KB_4096
help
Choose this option if you have a 4096 KB (4 MB) ROM chip.
config COREBOOT_ROMSIZE_KB_6144
bool "6144 KB (6 MB)"
help
Choose this option if you have a 6144 KB (6 MB) ROM chip.
config COREBOOT_ROMSIZE_KB_8192
bool "8192 KB (8 MB)"
help
@ -136,6 +144,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 6144 if COREBOOT_ROMSIZE_KB_6144
default 8192 if COREBOOT_ROMSIZE_KB_8192
default 10240 if COREBOOT_ROMSIZE_KB_10240
default 12288 if COREBOOT_ROMSIZE_KB_12288
@ -153,6 +162,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 0x600000 if COREBOOT_ROMSIZE_KB_6144
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
default 0xa00000 if COREBOOT_ROMSIZE_KB_10240
default 0xc00000 if COREBOOT_ROMSIZE_KB_12288