[U-Boot] [PATCH v2 2/7] riscv: Add a SYSCON driver for Andestech's PLMT

Bin Meng
2019-03-29T09:22:03Z

On Mon, Mar 25, 2019 at 3:39 PM Andes <uboot@andestech.com> wrote:
>
> From: Rick Chen <rick@andestech.com>
>
> The platform-Level Machine Timer(PLMT) block

nits: should have a space before (PLMT)

> 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>
> ---
> arch/riscv/Kconfig | 9 ++++++
> arch/riscv/include/asm/global_data.h | 3 ++
> arch/riscv/include/asm/syscon.h | 1 +
> arch/riscv/lib/Makefile | 1 +
> arch/riscv/lib/andes_plmt.c | 53 ++++++++++++++++++++++++++++++++++++
> 5 files changed, 67 insertions(+)
> create mode 100644 arch/riscv/lib/andes_plmt.c
>

Other than that,
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>