u-boot/board/starfive/visionfive2
Yanhong Wang c9745365f5 board: starfive: Dynamic configuration of DT for 1.2A and 1.3B
The main difference between StarFive VisionFive 2 1.2A and 1.3B is gmac.
You can read the PCB version of the current board by
get_pcb_revision_from_eeprom(), and then dynamically configure the
difference of gmac in spl_perform_fixups() according to different PCB
versions, so that one DT and one defconfig can support both 1.2A and
1.3B versions, which is more user-friendly.

Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
2023-07-12 13:21:40 +08:00
..
Kconfig board: starfive: Add Kconfig for StarFive VisionFive v2 Board 2023-04-20 16:08:44 +08:00
MAINTAINERS board: starfive: Fixed errors reported when executing get_maintainer.pl 2023-06-27 10:09:41 +08:00
Makefile eeprom: starfive: Enable ID EEPROM configuration 2023-07-12 13:21:40 +08:00
spl.c board: starfive: Dynamic configuration of DT for 1.2A and 1.3B 2023-07-12 13:21:40 +08:00
starfive_visionfive2.c configs: starfive: Enable ID EEPROM configuration 2023-07-12 13:21:40 +08:00
visionfive2-i2c-eeprom.c eeprom: starfive: Enable ID EEPROM configuration 2023-07-12 13:21:40 +08:00