[U-Boot] [PATCH 03/10] kconfig: move CONFIG_CMD_BOOTM to Kconfig

Simon Glass sjg at chromium.org
Mon Sep 8 20:32:11 CEST 2014


Hi Masahiro,

On 7 September 2014 02:43, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> CONFIG_CMD_BOOTM is defined in config_cmd_defaults.h
> which is forcebly included from each board.
> So, the default value of "config CMD_BOOTM" should be "y".
>
> For some boards undefining it (bf506f-ezkit, controlcenterd_TRAILBLA,
> controlcenterd_TRAILBLAZER_DEVELOP, controlcenterd_TRAILBLAZER),
> "# CONFIG_CMD_BOOTM is not set" should be added to their defconfig.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>
>  common/Kconfig                                       | 4 ++++
>  configs/bf506f-ezkit_defconfig                       | 1 +
>  configs/controlcenterd_TRAILBLAZER_DEVELOP_defconfig | 1 +
>  configs/controlcenterd_TRAILBLAZER_defconfig         | 1 +
>  include/config_cmd_defaults.h                        | 1 -
>  include/configs/bf506f-ezkit.h                       | 1 -
>  include/configs/controlcenterd.h                     | 1 -
>  7 files changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/common/Kconfig b/common/Kconfig
> index 5ae7190..9ae8246 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -1,4 +1,8 @@
>  menu "Command line interface"
>         depends on !SPL_BUILD
>
> +config CMD_BOOTM
> +       bool "Enable boom command"

nit: bootm

Also could add some help text - e.g. it enables the command to boot an OS image.

Regards,
Simon


More information about the U-Boot mailing list