diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-12-21 07:13:41 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-31 08:08:51 -0500 |
commit | 08337cd64832ed7f8147da75013510b92bbcd188 (patch) | |
tree | 81fbe8e10ae76c7bc5b880a591a1c307f3201231 /arch | |
parent | f2a53c7665a87decac5f3048b2a97467f648659f (diff) |
riscv: bootm: Support booting VxWorks
Register the 'bootm' function for booting VxWorks kernel for
RISC-V architecture.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/riscv/lib/bootm.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c index 60b32cca818..f36b8702ef3 100644 --- a/arch/riscv/lib/bootm.c +++ b/arch/riscv/lib/bootm.c @@ -86,7 +86,7 @@ static void boot_jump_linux(bootm_headers_t *images, int flag) bootstage_mark(BOOTSTAGE_ID_RUN_OS); - debug("## Transferring control to Linux (at address %08lx) ...\n", + debug("## Transferring control to kernel (at address %08lx) ...\n", (ulong)kernel); announce_and_cleanup(fake); @@ -118,3 +118,9 @@ int do_bootm_linux(int flag, int argc, char * const argv[], boot_jump_linux(images, flag); return 0; } + +int do_bootm_vxworks(int flag, int argc, char * const argv[], + bootm_headers_t *images) +{ + return do_bootm_linux(flag, argc, argv, images); +} |