]> git.baikalelectronics.ru Git - uboot.git/commit
riscv: Move timer portions of SiFive CLINT to drivers/timer
authorSean Anderson <seanga2@gmail.com>
Mon, 26 Oct 2020 01:46:58 +0000 (21:46 -0400)
committerAndes <uboot@andestech.com>
Mon, 26 Oct 2020 02:01:28 +0000 (10:01 +0800)
commit621d448bb16aa2cda5376bd66606cbd1defca2a6
treee57f62c59ae2d6b062be897a5094d38dcb50137e
parent391ce4374e35b97f049ba740356865275eb37d03
riscv: Move timer portions of SiFive CLINT to drivers/timer

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Rick Chen <rick@andestech.com>
MAINTAINERS
arch/riscv/lib/sifive_clint.c
drivers/timer/Makefile
drivers/timer/sifive_clint_timer.c [new file with mode: 0644]