From: Bin Meng Date: Tue, 6 Jan 2015 14:14:16 +0000 (+0800) Subject: x86: Hide ROM chip size when CONFIG_X86_RESET_VECTOR is not selected X-Git-Tag: v2025.01-rc5-pxa1908~14016^2~9 X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/%7B%7B?a=commitdiff_plain;h=7698d36a107734d363a512d3eeb81d6c9acc0a29;p=u-boot.git 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 Acked-by: Simon Glass --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ba0c1aace0..512b6f6e1f 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -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