summaryrefslogtreecommitdiff
path: root/include/command.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2015-07-21 17:49:41 -0600
committerTom Warren <twarren@nvidia.com>2015-07-27 15:53:48 -0700
commit8b5c738b85d49bdc7c48e5f787938fc40320bb27 (patch)
treeaf9eccbc853d36ed8d5dd8ff708e835b002c9041 /include/command.h
parentba521994229cbb707d04fb7e30395bba7007c776 (diff)
downloadu-boot-imx-8b5c738b85d49bdc7c48e5f787938fc40320bb27.zip
u-boot-imx-8b5c738b85d49bdc7c48e5f787938fc40320bb27.tar.gz
u-boot-imx-8b5c738b85d49bdc7c48e5f787938fc40320bb27.tar.bz2
pxe: add AArch64 image support
The sysboot and pxe commands currently support either U-Boot formats or raw zImages. Add support for the AArch64 Linux port's native image format too. As with zImage support, there is no auto-detection of the native image format. Rather, if the image is auto-detected as a U-Boot format, U-Boot will try to interpret it as such. Otherwise, U-Boot will fall back to a raw/native image format, if one is enabled. My belief is that CONFIG_CMD_BOOTZ won't ever be enabled for any AArch64 port, hence there's never a need to differentiate between CONFIG_CMD_ _BOOTI and _BOOTZ at run-time; compile-time will do. Even if this isn't true, we want to prefer _BOOTI over _BOOTZ when defined, since _BOOTI is definitely the native format for AArch64. Change-Id: I83c5cc7566032afd72516de46f4e5eb7a780284a Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/command.h b/include/command.h
index bd3fc04..6c04cd9 100644
--- a/include/command.h
+++ b/include/command.h
@@ -104,6 +104,8 @@ static inline int bootm_maybe_autostart(cmd_tbl_t *cmdtp, const char *cmd)
extern int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
+extern int do_booti(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
+
extern int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
char *const argv[]);