On Mon, 25 Jul 2016, Masahiro Yamada wrote:

> The "bootz" command is implemented in the "bootm", so the dependency
> should be reflected in Kconfig.
>
> Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com>
> ---
>
>  Kconfig     | 1 +
>  cmd/Kconfig | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/Kconfig b/Kconfig
> index ef12f9f..0d6afd2 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -57,6 +57,7 @@ config DISTRO_DEFAULTS
>       bool "Select defaults suitable for booting general purpose Linux 
> distributions"
>       default y if ARCH_SUNXI
>       default n
> +     select CMD_BOOTM
>       select CMD_BOOTZ
>       select CMD_DHCP
>       select CMD_EXT2
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index d69b817..171114d 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -162,6 +162,7 @@ config CMD_BOOTM
>
>  config CMD_BOOTZ
>       bool "bootz"
> +     depends on CMD_BOOTM
>       help
>         Boot the Linux zImage

  if bootz already depends on bootm, why then do you need to select
both?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to