[RFC 10/10] board: starfive: visionfive2: Add VisionFive 2 Lite fdt selection
Hal Feng
hal.feng at starfivetech.com
Fri Aug 29 08:09:31 CEST 2025
Set $fdtfile to the VisionFive 2 Lite DTB if the board is matched.
Signed-off-by: Hal Feng <hal.feng at starfivetech.com>
---
board/starfive/visionfive2/starfive_visionfive2.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/starfive/visionfive2/starfive_visionfive2.c b/board/starfive/visionfive2/starfive_visionfive2.c
index f38433e94ac..912e8cb967a 100644
--- a/board/starfive/visionfive2/starfive_visionfive2.c
+++ b/board/starfive/visionfive2/starfive_visionfive2.c
@@ -65,6 +65,8 @@ static void set_fdtfile(void)
} else if (!strncmp(get_product_id_from_eeprom(), "VF7110B", 7) ||
!strncmp(get_product_id_from_eeprom(), "VF7110b", 7)) {
fdtfile = "starfive/jh7110-starfive-visionfive-2-v1.3b.dtb";
+ } else if (!strncmp(get_product_id_from_eeprom(), "VF7110SL", 8)) {
+ fdtfile = "starfive/jh7110s-starfive-visionfive-2-lite.dtb";
} else {
log_err("Unknown product\n");
return;
--
2.43.2
More information about the U-Boot
mailing list