Choose the matching FIT config on the VisionFive 2 Lite board.
Reviewed-by: E Shattow <[email protected]>
Signed-off-by: Hal Feng <[email protected]>
---
board/starfive/visionfive2/spl.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/board/starfive/visionfive2/spl.c b/board/starfive/visionfive2/spl.c
index 48b034af305..b2eb04b3b82 100644
--- a/board/starfive/visionfive2/spl.c
+++ b/board/starfive/visionfive2/spl.c
@@ -132,6 +132,9 @@ int board_fit_config_name_match(const char *name)
} else if (!strcmp(name, "starfive/jh7110-starfive-visionfive-2-v1.3b")
&&
!strncmp(get_product_id_from_eeprom(), "VF7110B", 7)) {
return 0;
+ } else if (!strcmp(name, "starfive/jh7110s-starfive-visionfive-2-lite")
&&
+ !strncmp(get_product_id_from_eeprom(), "VF7110SL", 8)) {
+ return 0;
}
return -EINVAL;
--
2.43.2