]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Hide ROM chip size when CONFIG_X86_RESET_VECTOR is not selected
authorBin Meng <bmeng.cn@gmail.com>
Tue, 6 Jan 2015 14:14:16 +0000 (22:14 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 13 Jan 2015 15:25:03 +0000 (07:25 -0800)
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>
arch/x86/Kconfig

index ba0c1aace00c2f7221f72196b19bce83d1efe190..512b6f6e1f1e14f4cb5062dad57119bc75a64b01 100644 (file)
@@ -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