On Fri, Jun 18, 2021 at 3:28 PM Alistair Francis <alistair.fran...@wdc.com> wrote: > > Add support for the Ibex timer. This is used with the RISC-V > mtime/mtimecmp similar to the SiFive CLINT. > > We currently don't support changing the prescale or the timervalue. > > Signed-off-by: Alistair Francis <alistair.fran...@wdc.com> > --- > include/hw/timer/ibex_timer.h | 52 ++++++ > hw/timer/ibex_timer.c | 305 ++++++++++++++++++++++++++++++++++ > MAINTAINERS | 6 +- > hw/timer/meson.build | 1 + > 4 files changed, 360 insertions(+), 4 deletions(-) > create mode 100644 include/hw/timer/ibex_timer.h > create mode 100644 hw/timer/ibex_timer.c >
Reviewed-by: Bin Meng <bmeng...@gmail.com>