[U-Boot] [PATCH v2 04/12] x86: Hide ROM chip size when CONFIG_X86_RESET_VECTOR is not selected

Simon Glass sjg at chromium.org
Tue Jan 6 02:50:13 CET 2015


On 5 January 2015 at 08:28, Bin Meng <bmeng.cn at gmail.com> wrote:
> 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 at gmail.com>
>
> ---
>
> Changes in v2:
> - New patch to hide ROM chip size when CONFIG_X86_RESET_VECTOR is
>   not selected
>
>  arch/x86/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 76dc02d..1fabcce 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -94,6 +94,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
> --
> 1.8.2.1
>

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list