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>
This commit is contained in:
parent
a4e9395979
commit
50a4454892
1 changed files with 10 additions and 0 deletions
|
@ -28,6 +28,8 @@ config BOARD_ROMSIZE_KB_2048
|
||||||
bool
|
bool
|
||||||
config BOARD_ROMSIZE_KB_4096
|
config BOARD_ROMSIZE_KB_4096
|
||||||
bool
|
bool
|
||||||
|
config BOARD_ROMSIZE_KB_5120
|
||||||
|
bool
|
||||||
config BOARD_ROMSIZE_KB_6144
|
config BOARD_ROMSIZE_KB_6144
|
||||||
bool
|
bool
|
||||||
config BOARD_ROMSIZE_KB_8192
|
config BOARD_ROMSIZE_KB_8192
|
||||||
|
@ -53,6 +55,7 @@ choice
|
||||||
default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
|
default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
|
||||||
default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
|
default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
|
||||||
default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
|
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_6144 if BOARD_ROMSIZE_KB_6144
|
||||||
default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
|
default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
|
||||||
default COREBOOT_ROMSIZE_KB_10240 if BOARD_ROMSIZE_KB_10240
|
default COREBOOT_ROMSIZE_KB_10240 if BOARD_ROMSIZE_KB_10240
|
||||||
|
@ -101,6 +104,11 @@ config COREBOOT_ROMSIZE_KB_4096
|
||||||
help
|
help
|
||||||
Choose this option if you have a 4096 KB (4 MB) ROM chip.
|
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
|
config COREBOOT_ROMSIZE_KB_6144
|
||||||
bool "6144 KB (6 MB)"
|
bool "6144 KB (6 MB)"
|
||||||
help
|
help
|
||||||
|
@ -148,6 +156,7 @@ config COREBOOT_ROMSIZE_KB
|
||||||
default 1024 if COREBOOT_ROMSIZE_KB_1024
|
default 1024 if COREBOOT_ROMSIZE_KB_1024
|
||||||
default 2048 if COREBOOT_ROMSIZE_KB_2048
|
default 2048 if COREBOOT_ROMSIZE_KB_2048
|
||||||
default 4096 if COREBOOT_ROMSIZE_KB_4096
|
default 4096 if COREBOOT_ROMSIZE_KB_4096
|
||||||
|
default 5120 if COREBOOT_ROMSIZE_KB_5120
|
||||||
default 6144 if COREBOOT_ROMSIZE_KB_6144
|
default 6144 if COREBOOT_ROMSIZE_KB_6144
|
||||||
default 8192 if COREBOOT_ROMSIZE_KB_8192
|
default 8192 if COREBOOT_ROMSIZE_KB_8192
|
||||||
default 10240 if COREBOOT_ROMSIZE_KB_10240
|
default 10240 if COREBOOT_ROMSIZE_KB_10240
|
||||||
|
@ -166,6 +175,7 @@ config ROM_SIZE
|
||||||
default 0x100000 if COREBOOT_ROMSIZE_KB_1024
|
default 0x100000 if COREBOOT_ROMSIZE_KB_1024
|
||||||
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
|
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
|
||||||
default 0x400000 if COREBOOT_ROMSIZE_KB_4096
|
default 0x400000 if COREBOOT_ROMSIZE_KB_4096
|
||||||
|
default 0x500000 if COREBOOT_ROMSIZE_KB_5120
|
||||||
default 0x600000 if COREBOOT_ROMSIZE_KB_6144
|
default 0x600000 if COREBOOT_ROMSIZE_KB_6144
|
||||||
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
|
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
|
||||||
default 0xa00000 if COREBOOT_ROMSIZE_KB_10240
|
default 0xa00000 if COREBOOT_ROMSIZE_KB_10240
|
||||||
|
|
Loading…
Reference in a new issue