config: Use booti instead of bootz on 64-bit ARM
authorThierry Reding <treding@nvidia.com>
Fri, 20 Mar 2015 11:56:17 +0000 (12:56 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 28 Mar 2015 16:07:44 +0000 (12:07 -0400)
The bootz command doesn't work with Linux kernel images on 64-bit ARM.
The replacement command with the same interface and functionality is
booti.

Cc: Dennis Gilmore <dennis@ausil.us>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
include/config_distro_defaults.h

index 1ecc0bb0a99dc154b9c9c11588788937880f2698..f4a01ba8064200f3fbc80b310e2b62abff8e9976 100644 (file)
 
 #define CONFIG_OF_LIBFDT
 
+#ifdef CONFIG_ARM64
+#define CONFIG_CMD_BOOTI
+#else
 #define CONFIG_CMD_BOOTZ
+#endif
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_ELF
 #define CONFIG_CMD_EXT2