mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
x86: Hide ROM chip size when CONFIG_X86_RESET_VECTOR is not selected
When CONFIG_X86_RESET_VECTOR is not selected, specifying the ROM chip size is meaningless, hence hide it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
8cb20ccc34
commit
7698d36a10
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,7 @@ config RAMBASE
|
|||
|
||||
config XIP_ROM_SIZE
|
||||
hex
|
||||
depends on X86_RESET_VECTOR
|
||||
default ROM_SIZE
|
||||
|
||||
config CPU_ADDR_BITS
|
||||
|
@ -90,6 +91,7 @@ config BOARD_ROMSIZE_KB_16384
|
|||
|
||||
choice
|
||||
prompt "ROM chip size"
|
||||
depends on X86_RESET_VECTOR
|
||||
default UBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
|
||||
default UBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
|
||||
default UBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
|
||||
|
|
Loading…
Reference in a new issue