summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-03-20 12:56:17 +0100
committerTom Rini <trini@konsulko.com>2015-03-28 12:07:44 -0400
commite2a5d55642712f3c5a95b148cd1c94be801c4c4f (patch)
tree2959421e0ddbbd2de6bba31bdf20d49712029e3f
parent750461887efacb53caec0fb048d1070ee54180e2 (diff)
config: Use booti instead of bootz on 64-bit ARM
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>
-rw-r--r--include/config_distro_defaults.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h
index 1ecc0bb0a99..f4a01ba8064 100644
--- a/include/config_distro_defaults.h
+++ b/include/config_distro_defaults.h
@@ -31,7 +31,11 @@
#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