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

E Shattow
2025-09-03T00:21:53Z

On 8/28/25 23:09, Hal Feng wrote:
> 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))) {

Deprecation of "VF7110b" and "VF7110a" mentioned previously should be in
its own patch.

> return 0;
> + } else if (!strcmp(name, "starfive/jh7110s-starfive-visionfive-2-lite") &&
> + !strncmp(get_product_id_from_eeprom(), "VF7110SL", 8)) {
> + return 0;
> }
>
> return -EINVAL;

This is sorted correctly and looks good to me. With that,

Reviewed-by: E Shattow <e@freeshell.de>