U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Robert P. J. Day <rpjday@crashcourse.ca>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] cmd: bootz: make CMD_BOOTZ depend on CMD_BOOTM
Date: Mon, 25 Jul 2016 09:17:12 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.20.1607250916350.26903@localhost.localdomain> (raw)
In-Reply-To: <1469451968-26992-2-git-send-email-yamada.masahiro@socionext.com>

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.masahiro@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
========================================================================

  reply	other threads:[~2016-07-25 13:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-25 13:06 [U-Boot] [PATCH 0/3] Some Kconfig move/fixups Masahiro Yamada
2016-07-25 13:06 ` [U-Boot] [PATCH 1/3] cmd: bootz: make CMD_BOOTZ depend on CMD_BOOTM Masahiro Yamada
2016-07-25 13:17   ` Robert P. J. Day [this message]
2016-07-26  4:15     ` Masahiro Yamada
2016-07-25 13:06 ` [U-Boot] [PATCH 2/3] cmd: booti: move CONFIG_CMD_BOOTI to Kconfig Masahiro Yamada
2016-07-25 13:42   ` Michal Simek
2016-07-25 14:15     ` Ryan Harkin
2016-07-31 16:27     ` Masahiro Yamada
2016-07-31 17:23       ` Tom Rini
2016-07-25 13:06 ` [U-Boot] [PATCH 3/3] arm64: thunderx_88xx_defconfig: remove unneeded CONFIG_SYS_EXTRA_OPTIONS Masahiro Yamada
2016-07-25 14:56   ` Tom Rini
2016-07-26  2:33   ` [U-Boot] [U-Boot, " Tom Rini
2016-07-25 14:55 ` [U-Boot] [PATCH 0/3] Some Kconfig move/fixups Tom Rini
2016-07-31 16:24   ` Masahiro Yamada
2016-07-31 17:21     ` Tom Rini
2016-08-01  2:26       ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.20.1607250916350.26903@localhost.localdomain \
    --to=rpjday@crashcourse.ca \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox