Add 4MB ROM image size to Kconfig
Signed-off-by: Cristi Magherusan <cristi.magherusan@net.utcluj.ro> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4544 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
10c41fa008
commit
7e92ff343e
|
@ -13,6 +13,7 @@ config ARCH
|
||||||
|
|
||||||
config ROMBASE
|
config ROMBASE
|
||||||
hex
|
hex
|
||||||
|
default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
|
||||||
default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
|
default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
|
||||||
default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
|
default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
|
||||||
default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
|
default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
|
||||||
|
@ -25,6 +26,7 @@ config PAYLOAD_SIZE
|
||||||
|
|
||||||
config ROM_PAYLOAD_START
|
config ROM_PAYLOAD_START
|
||||||
hex
|
hex
|
||||||
|
default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096
|
||||||
default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
|
default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048
|
||||||
default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
|
default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024
|
||||||
default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
|
default 0xfff80000 if COREBOOT_ROMSIZE_KB_512
|
||||||
|
@ -33,6 +35,7 @@ config ROM_PAYLOAD_START
|
||||||
|
|
||||||
config ROM_IMAGE_SIZE
|
config ROM_IMAGE_SIZE
|
||||||
hex
|
hex
|
||||||
|
default 0x400000 if COREBOOT_ROMSIZE_KB_4096
|
||||||
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
|
default 0x200000 if COREBOOT_ROMSIZE_KB_2048
|
||||||
default 0x100000 if COREBOOT_ROMSIZE_KB_1024
|
default 0x100000 if COREBOOT_ROMSIZE_KB_1024
|
||||||
default 0x80000 if COREBOOT_ROMSIZE_KB_512
|
default 0x80000 if COREBOOT_ROMSIZE_KB_512
|
||||||
|
|
|
@ -327,6 +327,11 @@ config COREBOOT_ROMSIZE_KB_2048
|
||||||
help
|
help
|
||||||
Choose this option if you have a 2048 KB (2 MB) ROM chip.
|
Choose this option if you have a 2048 KB (2 MB) ROM chip.
|
||||||
|
|
||||||
|
config COREBOOT_ROMSIZE_KB_4096
|
||||||
|
bool "4096 KB (4 MB)"
|
||||||
|
help
|
||||||
|
Choose this option if you have a 4096 KB (4 MB) ROM chip.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config COREBOOT_ROMSIZE_KB
|
config COREBOOT_ROMSIZE_KB
|
||||||
|
@ -336,6 +341,7 @@ config COREBOOT_ROMSIZE_KB
|
||||||
default 512 if COREBOOT_ROMSIZE_KB_512
|
default 512 if COREBOOT_ROMSIZE_KB_512
|
||||||
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
|
||||||
help
|
help
|
||||||
Map the config names to an integer.
|
Map the config names to an integer.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue