[PATCH v1 9/9] board: starfive: visionfive2: Add VisionFive 2 Lite fdt selection
Hal Feng
hal.feng at starfivetech.com
Fri Oct 24 10:59:32 CEST 2025
Set $fdtfile to the VisionFive 2 Lite DTB if the board is matched.
Reviewed-by: E Shattow <e at freeshell.de>
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 6271974b9c7..013ba63994e 100644
--- a/board/starfive/visionfive2/starfive_visionfive2.c
+++ b/board/starfive/visionfive2/starfive_visionfive2.c
@@ -63,6 +63,8 @@ static void set_fdtfile(void)
fdtfile = "starfive/jh7110-starfive-visionfive-2-v1.2a.dtb";
} else if (!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