[U-Boot] [PATCH 1/3] cmd: bootz: make CMD_BOOTZ depend on CMD_BOOTM

Masahiro Yamada yamada.masahiro at socionext.com
Mon Jul 25 15:06:06 CEST 2016


The "bootz" command is implemented in the "bootm", so the dependency
should be reflected in Kconfig.

Signed-off-by: Masahiro Yamada <yamada.masahiro at 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
 
-- 
1.9.1



More information about the U-Boot mailing list