commit | a1f24875c346a1bf8940b793a27364631d9aabf7 | [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 | 0d389468e2144f3ba3bdbc566c05c0c05dc14fc6 [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>