Kconfig: DISTRO_DEFAULTS: Only enable CMD_BOOTZ for ARM
authorTom Rini <trini@konsulko.com>
Fri, 12 Aug 2016 12:31:17 +0000 (08:31 -0400)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 15:35:08 +0000 (11:35 -0400)
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>
Kconfig

diff --git a/Kconfig b/Kconfig
index 7c87148..45a0669 100644 (file)
--- 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