From: Tom Rini <trini@konsulko.com>
Date: Fri, 12 Aug 2016 12:31:17 +0000 (-0400)
Subject: Kconfig: DISTRO_DEFAULTS: Only enable CMD_BOOTZ for ARM
X-Git-Tag: v2025.01-rc5-pxa1908~8698
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=a391d5004ea381c3496c8dc3498031aeebdabc9a;p=u-boot.git

Kconfig: DISTRO_DEFAULTS: Only enable CMD_BOOTZ for ARM

The 'bootz' command is really only for ARM32 Linux Kernel 'zImage' files
but has also been adapted for testing with sandbox.  Given that sandbox
is a test platform, don't add that logic under DISTRO_DEFAULTS.

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/Kconfig b/Kconfig
index 7c87148612..45a06696a1 100644
--- a/Kconfig
+++ b/Kconfig
@@ -57,7 +57,7 @@ config DISTRO_DEFAULTS
 	bool "Select defaults suitable for booting general purpose Linux distributions"
 	default y if ARCH_SUNXI
 	default n
-	select CMD_BOOTZ
+	select CMD_BOOTZ if ARM && !ARM64
 	select CMD_BOOTI if ARM64
 	select CMD_DHCP
 	select CMD_EXT2