On Fri, May 16, 2025 at 03:05:22AM +0000, Yao Zi wrote: > TH1520 SoC ships several IOPMPs protecting various on-chip peripherals. > They must be configured before accessing the peripherals. Let's > initialize them in SPL harts_early_init(). > > Signed-off-by: Yao Zi <zi...@disroot.org> > --- > arch/riscv/cpu/th1520/spl.c | 65 ++++++++++++++++++++++ > arch/riscv/include/asm/arch-th1520/iopmp.h | 42 ++++++++++++++ > 2 files changed, 107 insertions(+) > create mode 100644 arch/riscv/include/asm/arch-th1520/iopmp.h
Reviewed-by: Leo Yu-Chi Liang <ycli...@andestech.com>