]> git.dujemihanovic.xyz Git - u-boot.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)
commit47d7e3b5eb72fd540930c830d568ece19b3defa0
treee57f62c59ae2d6b062be897a5094d38dcb50137e
parent7dbebebb7949655f35d90c612eaf92e3d2c9ed24
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]