From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert P. J. Day Date: Mon, 25 Jul 2016 09:17:12 -0400 (EDT) Subject: [U-Boot] [PATCH 1/3] cmd: bootz: make CMD_BOOTZ depend on CMD_BOOTM In-Reply-To: <1469451968-26992-2-git-send-email-yamada.masahiro@socionext.com> References: <1469451968-26992-1-git-send-email-yamada.masahiro@socionext.com> <1469451968-26992-2-git-send-email-yamada.masahiro@socionext.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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 ========================================================================