[PATCH v10 13/18] riscv: cpu: fu540: Add support for cpu fu540

Pragnesh Patel pragnesh.patel at sifive.com
Sun May 17 16:30:18 CEST 2020


Hi Bin,

>-----Original Message-----
>From: Bin Meng <bmeng.cn at gmail.com>
>Sent: 17 May 2020 18:30
>To: Pragnesh Patel <pragnesh.patel at sifive.com>
>Cc: U-Boot Mailing List <u-boot at lists.denx.de>; Atish Patra
><atish.patra at wdc.com>; Palmer Dabbelt <palmerdabbelt at google.com>; Paul
>Walmsley <paul.walmsley at sifive.com>; Jagan Teki
><jagan at amarulasolutions.com>; Anup Patel <anup.patel at wdc.com>; Sagar
>Kadam <sagar.kadam at sifive.com>; Rick Chen <rick at andestech.com>; Palmer
>Dabbelt <palmer at dabbelt.com>; Lukas Auer
><lukas.auer at aisec.fraunhofer.de>; Simon Glass <sjg at chromium.org>
>Subject: Re: [PATCH v10 13/18] riscv: cpu: fu540: Add support for cpu fu540
>
>[External Email] Do not click links or attachments unless you recognize the
>sender and know the content is safe
>
>On Thu, May 14, 2020 at 7:54 PM Pragnesh Patel
><pragnesh.patel at sifive.com> wrote:
>>
>> Add SiFive fu540 cpu to support RISC-V arch
>>
>> Signed-off-by: Pragnesh Patel <pragnesh.patel at 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

Will update in v11.

>
>>
>>  # architecture-specific options below
>>
>
>Other than that,
>Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>Tested-by: Bin Meng <bmeng.cn at gmail.com>

Thanks for the review and testing.



More information about the U-Boot mailing list