commit | 737667795a8f12780c410c757aa83fe745cf3499 | [log] [tgz] |
---|---|---|
author | Rick Chen <rick@andestech.com> | Tue Apr 02 15:56:40 2019 +0800 |
committer | Andes <uboot@andestech.com> | Mon Apr 08 09:45:08 2019 +0800 |
tree | d3117a234e71e0518a3f0589b4d21db3d00ca696 | |
parent | 6df4ed0d09e15805b96d83553439c7b38726726b [diff] |
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>