diff options
Diffstat (limited to 'src/arch/riscv')
-rw-r--r-- | src/arch/riscv/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/boot.c b/src/arch/riscv/boot.c index 39008e7b4d..552b3f4cd6 100644 --- a/src/arch/riscv/boot.c +++ b/src/arch/riscv/boot.c @@ -22,7 +22,7 @@ void arch_prog_run(struct prog *prog) { void (*doit)(void *) = prog_entry(prog); - if (ENV_RAMSTAGE && prog_type(prog) == ASSET_PAYLOAD) { + if (ENV_RAMSTAGE && prog_type(prog) == PROG_PAYLOAD) { initVirtualMemory(); write_csr(mepc, doit); asm volatile("eret"); |