[U-Boot] [PATCH v2 2/7] riscv: Add a SYSCON driver for Andestech's PLMT
Rick Chen
rickchen36 at gmail.com
Mon Apr 1 03:35:09 UTC 2019
Hi Bin
Bin Meng <bmeng.cn at gmail.com> 於 2019年3月29日 週五 下午5:22寫道:
>
> On Mon, Mar 25, 2019 at 3:39 PM Andes <uboot at andestech.com> wrote:
> >
> > From: Rick Chen <rick at andestech.com>
> >
> > The platform-Level Machine Timer(PLMT) block
>
> nits: should have a space before (PLMT)
OK
>
> > 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 at andestech.com>
> > Cc: Greentime Hu <greentime at 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 at gmail.com>
Thanks for review.
Rick
More information about the U-Boot
mailing list