Re: [PATCH v3 4/6] board: starfive: support Milk-V Mars board

Leo Liang
2024-04-08T10:45:07Z

On Tue, Apr 02, 2024 at 10:49:10AM +0200, Heinrich Schuchardt wrote:
> The differences between the Milk-V Mars board and the VisionFive 2 board
> are small enough that we can support both using the same U-Boot build.
>
> * The model and compatible property are taken from proposed Linux patches.
> * The EEPROM is atmel,24c02 according to the vendor U-Boot.
> * The second Ethernet port is not available.
>
> usb@10100000 does not exist in U-Boot yet. So we don't have to reflect
> differences in usage here.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
> For the mmc card-detect a separate patch has been created:
> https://lore.kernel.org/u-boot/20240328214615.21501-1-heinrich.schuchardt@canonical.com/
>
> v3:
> Replace misplaced starfive_verb[i] by milk_v_mars[i].
> v2:
> do not overwrite /soc/i2c@12050000/eeprom@50/compatible
> ---
> board/starfive/visionfive2/spl.c | 99 ++++++++++++++++++++++++++++----
> 1 file changed, 87 insertions(+), 12 deletions(-)