
12 Oct
2020
12 Oct
'20
5:34 a.m.
On Sun, 4 Oct 2020 at 14:30, Sean Anderson seanga2@gmail.com wrote:
Half of this driver is a DM-based timer driver, and half is RISC-V-specific IPI code. Move the timer portions in with the other timer drivers. The KConfig is not moved, since it also enables IPIs. It could also be split into two configs, but no boards use the timer but not the IPI atm, so I haven't split it.
Signed-off-by: Sean Anderson seanga2@gmail.com
MAINTAINERS | 1 + arch/riscv/lib/sifive_clint.c | 43 ++------------------------ drivers/timer/Makefile | 1 + drivers/timer/sifive_clint_timer.c | 49 ++++++++++++++++++++++++++++++ 4 files changed, 53 insertions(+), 41 deletions(-) create mode 100644 drivers/timer/sifive_clint_timer.c
Reviewed-by: Simon Glass sjg@chromium.org