mb/Kconfig: Align ROM size options

Change-Id: I0160e72a8961f1aa34982f6348825708e7be9c40
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39180
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Angel Pons 2020-03-01 13:28:36 +01:00 committed by Patrick Georgi
parent dc1596c8c8
commit 3e576739c9
1 changed files with 35 additions and 35 deletions

View File

@ -164,21 +164,21 @@ config COREBOOT_ROMSIZE_KB
# Map the config names to a hex value (bytes). # Map the config names to a hex value (bytes).
config ROM_SIZE config ROM_SIZE
hex hex
default 0x10000 if COREBOOT_ROMSIZE_KB_64 default 0x00010000 if COREBOOT_ROMSIZE_KB_64
default 0x20000 if COREBOOT_ROMSIZE_KB_128 default 0x00020000 if COREBOOT_ROMSIZE_KB_128
default 0x40000 if COREBOOT_ROMSIZE_KB_256 default 0x00040000 if COREBOOT_ROMSIZE_KB_256
default 0x80000 if COREBOOT_ROMSIZE_KB_512 default 0x00080000 if COREBOOT_ROMSIZE_KB_512
default 0x100000 if COREBOOT_ROMSIZE_KB_1024 default 0x00100000 if COREBOOT_ROMSIZE_KB_1024
default 0x200000 if COREBOOT_ROMSIZE_KB_2048 default 0x00200000 if COREBOOT_ROMSIZE_KB_2048
default 0x400000 if COREBOOT_ROMSIZE_KB_4096 default 0x00400000 if COREBOOT_ROMSIZE_KB_4096
default 0x500000 if COREBOOT_ROMSIZE_KB_5120 default 0x00500000 if COREBOOT_ROMSIZE_KB_5120
default 0x600000 if COREBOOT_ROMSIZE_KB_6144 default 0x00600000 if COREBOOT_ROMSIZE_KB_6144
default 0x800000 if COREBOOT_ROMSIZE_KB_8192 default 0x00800000 if COREBOOT_ROMSIZE_KB_8192
default 0xa00000 if COREBOOT_ROMSIZE_KB_10240 default 0x00a00000 if COREBOOT_ROMSIZE_KB_10240
default 0xc00000 if COREBOOT_ROMSIZE_KB_12288 default 0x00c00000 if COREBOOT_ROMSIZE_KB_12288
default 0x1000000 if COREBOOT_ROMSIZE_KB_16384 default 0x01000000 if COREBOOT_ROMSIZE_KB_16384
default 0x2000000 if COREBOOT_ROMSIZE_KB_32768 default 0x02000000 if COREBOOT_ROMSIZE_KB_32768
default 0x4000000 if COREBOOT_ROMSIZE_KB_65536 default 0x04000000 if COREBOOT_ROMSIZE_KB_65536
config ENABLE_POWER_BUTTON config ENABLE_POWER_BUTTON
bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL