On Thu, May 14, 2020 at 7:54 PM Pragnesh Patel <pragnesh.pa...@sifive.com> wrote: > > Add SiFive fu540 cpu to support RISC-V arch > > Signed-off-by: Pragnesh Patel <pragnesh.pa...@sifive.com> > --- > arch/riscv/Kconfig | 1 + > arch/riscv/cpu/fu540/Kconfig | 15 ++++++++++ > arch/riscv/cpu/fu540/Makefile | 7 +++++ > arch/riscv/cpu/fu540/cpu.c | 22 ++++++++++++++ > arch/riscv/cpu/fu540/dram.c | 38 ++++++++++++++++++++++++ > arch/riscv/include/asm/arch-fu540/clk.h | 14 +++++++++ > arch/riscv/include/asm/arch-fu540/gpio.h | 38 ++++++++++++++++++++++++ > board/sifive/fu540/Kconfig | 2 +- > 8 files changed, 136 insertions(+), 1 deletion(-) > create mode 100644 arch/riscv/cpu/fu540/Kconfig > create mode 100644 arch/riscv/cpu/fu540/Makefile > create mode 100644 arch/riscv/cpu/fu540/cpu.c > create mode 100644 arch/riscv/cpu/fu540/dram.c > create mode 100644 arch/riscv/include/asm/arch-fu540/clk.h > create mode 100644 arch/riscv/include/asm/arch-fu540/gpio.h > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index fb5fe5afff..3044609971 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -57,6 +57,7 @@ source "board/sifive/fu540/Kconfig" > # platform-specific options below > source "arch/riscv/cpu/ax25/Kconfig" > source "arch/riscv/cpu/generic/Kconfig" > +source "arch/riscv/cpu/fu540/Kconfig"
nits: please insert this line after the ax25 one by following the alphabetical order > > # architecture-specific options below > Other than that, Reviewed-by: Bin Meng <bmeng...@gmail.com> Tested-by: Bin Meng <bmeng...@gmail.com>