]> git.baikalelectronics.ru Git - uboot.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)
commit16458d1ddda82bf46e067e212cc30e52826c2a26
treed3117a234e71e0518a3f0589b4d21db3d00ca696
parent044f8a6b339f4923d500716c44b8e6525fb46320
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]