summaryrefslogtreecommitdiff
path: root/board/starfive
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-04-24 14:13:11 +0200
committerLeo Yu-Chi Liang <ycliang@andestech.com>2025-04-25 16:39:34 +0800
commit26cd7afcce2865a6640278dbec9a643868b6c411 (patch)
tree4f24b26f0e73449d6b80e31630524c39f9d8fa4b /board/starfive
parent3de6e675ed082986574e2c6960642fde7d8139aa (diff)
board: starfive: spl: support DeepComputing FML13V01
On the DeepComputing Framework motherboard (FML13V01) choose the matching FIT configuration. Reviewed-by: Hal Feng <hal.feng@starfivetech.com> Reviewed-by: Matthias Brugger <mbrugger@suse.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: E Shattow <e@freeshell.de>
Diffstat (limited to 'board/starfive')
-rw-r--r--board/starfive/visionfive2/spl.c5
1 files changed, 4 insertions, 1 deletions
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"))