]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Add a SYSCON driver for Andestech's PLMT
authorRick Chen <rick@andestech.com>
Tue, 2 Apr 2019 07:56:40 +0000 (15:56 +0800)
committerAndes <uboot@andestech.com>
Mon, 8 Apr 2019 01:45:08 +0000 (09:45 +0800)
commita1f24875c346a1bf8940b793a27364631d9aabf7
treed3117a234e71e0518a3f0589b4d21db3d00ca696
parent0d389468e2144f3ba3bdbc566c05c0c05dc14fc6
riscv: Add a SYSCON driver for Andestech's PLMT

The platform-Level Machine Timer (PLMT) block
holds memory-mapped mtime register associated
with timer tick.

This driver implements the riscv_get_time() which
is required by the generic RISC-V timer driver.

Signed-off-by: Rick Chen <rick@andestech.com>
Cc: Greentime Hu <greentime@andestech.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
arch/riscv/Kconfig
arch/riscv/include/asm/global_data.h
arch/riscv/include/asm/syscon.h
arch/riscv/lib/Makefile
arch/riscv/lib/andes_plmt.c [new file with mode: 0644]