summaryrefslogtreecommitdiff
path: root/common/bootm_os.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-12-21 07:13:41 -0800
committerTom Rini <trini@konsulko.com>2018-12-31 08:08:51 -0500
commit08337cd64832ed7f8147da75013510b92bbcd188 (patch)
tree81fbe8e10ae76c7bc5b880a591a1c307f3201231 /common/bootm_os.c
parentf2a53c7665a87decac5f3048b2a97467f648659f (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 'common/bootm_os.c')
-rw-r--r--common/bootm_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bootm_os.c b/common/bootm_os.c
index 473b9400c8..855c471c28 100644
--- a/common/bootm_os.c
+++ b/common/bootm_os.c
@@ -482,7 +482,7 @@ static boot_os_fn *boot_os[] = {
[IH_OS_PLAN9] = do_bootm_plan9,
#endif
#if defined(CONFIG_BOOTM_VXWORKS) && \
- (defined(CONFIG_PPC) || defined(CONFIG_ARM))
+ (defined(CONFIG_PPC) || defined(CONFIG_ARM) || defined(CONFIG_RISCV))
[IH_OS_VXWORKS] = do_bootm_vxworks,
#endif
#if defined(CONFIG_CMD_ELF)