From: Heinrich Schuchardt Date: Thu, 24 Apr 2025 12:13:11 +0000 (+0200) Subject: board: starfive: spl: support DeepComputing FML13V01 X-Git-Tag: v2025.07-rc1~14^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62dad88db25545a2e0b04d570c4b28fae25849cc;p=pandora-u-boot.git board: starfive: spl: support DeepComputing FML13V01 On the DeepComputing Framework motherboard (FML13V01) choose the matching FIT configuration. Reviewed-by: Hal Feng Reviewed-by: Matthias Brugger Reviewed-by: E Shattow Signed-off-by: Heinrich Schuchardt --- diff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c index 3e4d3e21988..9a3081ef06f 100644 --- a/board/starfive/visionfive2/spl.c +++ b/board/starfive/visionfive2/spl.c @@ -125,7 +125,10 @@ int board_fit_config_name_match(const char *name) if (strncmp(name, "starfive/", 9)) return -EINVAL; name += 9; - if (!strncmp(product_id, "VF7110", 6)) { + if (!strncmp(product_id, "FML13V01", 8) && + !strcmp(name, "jh7110-deepcomputing-fml13v01")) { + return 0; + } else if (!strncmp(product_id, "VF7110", 6)) { version = get_pcb_revision_from_eeprom(); if ((version == 'b' || version == 'B') && !strcmp(name, "jh7110-starfive-visionfive-2-v1.3b"))