On Mon, Apr 1, 2019 at 4:29 PM Andes <ub...@andestech.com> wrote: > > From: Rick Chen <r...@andestech.com> > > The Platform-Level Interrupt Controller (PLIC) > block holds memory-mapped claim and pending registers > associated with software interrupt. It is required > for handling IPI. > > Signed-off-by: Rick Chen <r...@andestech.com> > Cc: Greentime Hu <greent...@andestech.com> > --- > V3: > - Rename plic_init() as enable_ipi(). > - Declase as static. > - Remove PLIC_BASE_GET() from enable_ipi(). > > arch/riscv/Kconfig | 9 +++ > arch/riscv/include/asm/global_data.h | 3 + > arch/riscv/include/asm/syscon.h | 2 +- > arch/riscv/lib/Makefile | 1 + > arch/riscv/lib/andes_plic.c | 110 > +++++++++++++++++++++++++++++++++++ > 5 files changed, 124 insertions(+), 1 deletion(-) > create mode 100644 arch/riscv/lib/andes_plic.c >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot