diff options
author | Nitin Jain <nitin.jain@xilinx.com> | 2018-02-16 12:56:17 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-03-23 09:34:42 +0100 |
commit | 51916864b31f35853c2c6bf94f4dc89a311ee8f1 (patch) | |
tree | 1056e6d2cbc972ed0ec7a277c90af409856fd7cc /include | |
parent | 429f0b9e1410a19b08ac281318a308ebce4b6fbc (diff) |
arm64: zynqmp: Add support to load an app at EL1
This patch is adding support to switch to EL1 while loading an EL1
application with u-boot running at EL above EL1 in aarch64 mode.
Signed-off-by: Nitin Jain <nitinj@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/command.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/command.h b/include/command.h index 767cabb3df..56499b8ad5 100644 --- a/include/command.h +++ b/include/command.h @@ -111,6 +111,8 @@ extern int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc, extern int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); extern int do_poweroff(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); +extern unsigned long do_go_exec(ulong (*entry)(int, char * const []), int argc, + char * const argv[]); /* * Error codes that commands return to cmd_process(). We use the standard 0 * and 1 for success and failure, but add one more case - failure with a |