mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-05 03:03:49 +00:00

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@sifive.com> Co-developed-by: Nylon Chen <nylon.chen@sifive.com> Signed-off-by: Nylon Chen <nylon.chen@sifive.com> Co-developed-by: Zong Li <zong.li@sifve.com> Signed-off-by: Zong Li <zong.li@sifve.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
15 lines
282 B
C
15 lines
282 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2024 SiFive, Inc.
|
|
*
|
|
* Zong Li <zong.li@sifve.com>
|
|
*/
|
|
|
|
#ifndef _ASM_RISCV_EEPROM_H
|
|
#define _ASM_RISCV_EEPROM_H
|
|
|
|
#define PCB_REVISION_REV3 0x3
|
|
|
|
u8 get_pcb_revision_from_eeprom(void);
|
|
|
|
#endif /* _ASM_RISCV_EEPROM_H */
|