]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
board: starfive: visionfive2: Add VisionFive 2 Lite fdt selection
authorHal Feng <hal.feng@starfivetech.com>
Fri, 24 Oct 2025 08:59:32 +0000 (16:59 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 16 Mar 2026 17:36:57 +0000 (01:36 +0800)
Set $fdtfile to the VisionFive 2 Lite DTB if the board is matched.

Reviewed-by: E Shattow <e@freeshell.de>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
board/starfive/visionfive2/starfive_visionfive2.c

index 6c39fd4af35f33e55083c3eba1db2190784da393..ff510a57df5ecf869315ba9bd5ae087ae639b502 100644 (file)
@@ -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;