diff options
Diffstat (limited to 'riscv')
-rw-r--r-- | riscv/clint.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/clint.cc b/riscv/clint.cc index 2fb9ef3..9d25db8 100644 --- a/riscv/clint.cc +++ b/riscv/clint.cc @@ -118,7 +118,7 @@ void clint_t::tick(reg_t rtc_ticks) clint_t* clint_parse_from_fdt(const void* fdt, const sim_t* sim, reg_t* base, const std::vector<std::string>& sargs) { - if (fdt_parse_clint(fdt, base, "riscv,clint0") == 0) + if (fdt_parse_clint(fdt, base, "riscv,clint0") == 0 || fdt_parse_clint(fdt, base, "sifive,clint0") == 0) return new clint_t(sim, sim->CPU_HZ / sim->INSNS_PER_RTC_TICK, sim->get_cfg().real_time_clint()); |