summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-01-06 22:14:16 +0800
committerSimon Glass <sjg@chromium.org>2015-01-13 07:25:03 -0800
commit7698d36a107734d363a512d3eeb81d6c9acc0a29 (patch)
treef53c381e6d52daf01a53aa57884b20c58f1968b5
parent8cb20ccc34cda9fdcbae962744bf8ecee90dd5d2 (diff)
downloadu-boot-imx-7698d36a107734d363a512d3eeb81d6c9acc0a29.zip
u-boot-imx-7698d36a107734d363a512d3eeb81d6c9acc0a29.tar.gz
u-boot-imx-7698d36a107734d363a512d3eeb81d6c9acc0a29.tar.bz2
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>
-rw-r--r--arch/x86/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index ba0c1aa..512b6f6 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