summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHal Feng <[email protected]>2025-10-24 16:59:32 +0800
committerLeo Yu-Chi Liang <[email protected]>2026-03-17 01:36:57 +0800
commit52c382798c552143f04c8a9d6d491f2063491472 (patch)
tree20af2e8fd2cf602dd3be570d56684dcae7a8390e
parentf566788ca12ae5070513fbd5bcea2e18433b4da6 (diff)
board: starfive: visionfive2: Add VisionFive 2 Lite fdt selection
Set $fdtfile to the VisionFive 2 Lite DTB if the board is matched. Reviewed-by: E Shattow <[email protected]> Signed-off-by: Hal Feng <[email protected]>
-rw-r--r--board/starfive/visionfive2/starfive_visionfive2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/starfive/visionfive2/starfive_visionfive2.c b/board/starfive/visionfive2/starfive_visionfive2.c
index 6c39fd4af35..ff510a57df5 100644
--- a/board/starfive/visionfive2/starfive_visionfive2.c
+++ b/board/starfive/visionfive2/starfive_visionfive2.c
@@ -69,6 +69,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/jh7110-starfive-visionfive-2-lite.dtb";
} else {
log_err("Unknown product\n");
return;