ROMSIZE: Add option for 12M chips.
On X230 2 real chips (8 + 4) are merged into one virtual 12M chip. Change-Id: I49c251b1777fc9edccebc4a204b9c4a087bf2a8e Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4688 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
78938481eb
commit
01d06dc67b
|
@ -228,6 +228,8 @@ config BOARD_ROMSIZE_KB_4096
|
||||||
bool
|
bool
|
||||||
config BOARD_ROMSIZE_KB_8192
|
config BOARD_ROMSIZE_KB_8192
|
||||||
bool
|
bool
|
||||||
|
config BOARD_ROMSIZE_KB_12288
|
||||||
|
bool
|
||||||
config BOARD_ROMSIZE_KB_16384
|
config BOARD_ROMSIZE_KB_16384
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
@ -242,6 +244,7 @@ choice
|
||||||
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_8192 if BOARD_ROMSIZE_KB_8192
|
default COREBOOT_ROMSIZE_KB_8192 if BOARD_ROMSIZE_KB_8192
|
||||||
|
default COREBOOT_ROMSIZE_KB_12288 if BOARD_ROMSIZE_KB_12288
|
||||||
default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
|
default COREBOOT_ROMSIZE_KB_16384 if BOARD_ROMSIZE_KB_16384
|
||||||
help
|
help
|
||||||
Select the size of the ROM chip you intend to flash coreboot on.
|
Select the size of the ROM chip you intend to flash coreboot on.
|
||||||
|
@ -289,6 +292,11 @@ config COREBOOT_ROMSIZE_KB_8192
|
||||||
help
|
help
|
||||||
Choose this option if you have a 8192 KB (8 MB) ROM chip.
|
Choose this option if you have a 8192 KB (8 MB) ROM chip.
|
||||||
|
|
||||||
|
config COREBOOT_ROMSIZE_KB_12288
|
||||||
|
bool "12288 KB (12 MB)"
|
||||||
|
help
|
||||||
|
Choose this option if you have a 12288 KB (12 MB) ROM chip.
|
||||||
|
|
||||||
config COREBOOT_ROMSIZE_KB_16384
|
config COREBOOT_ROMSIZE_KB_16384
|
||||||
bool "16384 KB (16 MB)"
|
bool "16384 KB (16 MB)"
|
||||||
help
|
help
|
||||||
|
@ -307,6 +315,7 @@ config COREBOOT_ROMSIZE_KB
|
||||||
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 8192 if COREBOOT_ROMSIZE_KB_8192
|
default 8192 if COREBOOT_ROMSIZE_KB_8192
|
||||||
|
default 12288 if COREBOOT_ROMSIZE_KB_12288
|
||||||
default 16384 if COREBOOT_ROMSIZE_KB_16384
|
default 16384 if COREBOOT_ROMSIZE_KB_16384
|
||||||
|
|
||||||
# Map the config names to a hex value (bytes).
|
# Map the config names to a hex value (bytes).
|
||||||
|
@ -320,6 +329,7 @@ config ROM_SIZE
|
||||||
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 0x800000 if COREBOOT_ROMSIZE_KB_8192
|
default 0x800000 if COREBOOT_ROMSIZE_KB_8192
|
||||||
|
default 0xc00000 if COREBOOT_ROMSIZE_KB_12288
|
||||||
default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
|
default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
|
||||||
|
|
||||||
config ENABLE_POWER_BUTTON
|
config ENABLE_POWER_BUTTON
|
||||||
|
|
Loading…
Reference in New Issue