[PATCH] board: sifive: spl: Initialized the PWM setting in the SPL stage

Leo Liang ycliang at andestech.com
Wed Jan 31 03:58:50 CET 2024


On Tue, Jan 16, 2024 at 02:35:57PM +0800, Nylon Chen wrote:
> From: Vincent Chen <vincent.chen at sifive.com>
> 
> LEDs and multiple fans can be controlled by SPL. This patch ensures
> that all fans have been enabled in the SPL stage. In addition, the
> LED's color will be set to yellow.
> 
> Signed-off-by: Vincent Chen <vincent.chen at sifive.com>
> Co-developed-by: Nylon Chen <nylon.chen at sifive.com>
> Signed-off-by: Nylon Chen <nylon.chen at sifive.com>
> Co-developed-by: Zong Li <zong.li at sifve.com>
> Signed-off-by: Zong Li <zong.li at sifve.com>
> ---
>  arch/riscv/include/asm/arch-fu740/eeprom.h | 15 +++++++
>  board/sifive/unmatched/spl.c               | 52 ++++++++++++++++++++++
>  2 files changed, 67 insertions(+)
>  create mode 100644 arch/riscv/include/asm/arch-fu740/eeprom.h

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list