[RFC 09/10] board: starfive: spl: Support VisionFive 2 Lite

Hal Feng
2025-08-29T14:32:00Z

Choose the matching FIT config on the VisionFive 2 Lite board.

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
---
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 901e7b58f36..18571b482f9 100644
--- a/board/starfive/visionfive2/spl.c
+++ b/board/starfive/visionfive2/spl.c
@@ -133,6 +133,9 @@ int board_fit_config_name_match(const char *name)
(!strncmp(get_product_id_from_eeprom(), "VF7110B", 7) ||
!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