diff mbox

[U-Boot,v3,3/3] Kconfig: DISTRO_DEFAULTS: Only enable CMD_BOOTZ for ARM

Message ID 1471005077-27615-3-git-send-email-trini@konsulko.com
State Accepted
Commit a391d5004ea381c3496c8dc3498031aeebdabc9a
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini Aug. 12, 2016, 12:31 p.m. UTC
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>
---
Changes in v3:
- New patch
---
 Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Aug. 21, 2016, 3:08 p.m. UTC | #1
On Fri, Aug 12, 2016 at 08:31:17AM -0400, Tom Rini wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/Kconfig b/Kconfig
index 0bc06d859f75..423b877a6eaa 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