Skip to content
Commit c9745365 authored by Yanhong Wang's avatar Yanhong Wang Committed by Leo Yu-Chi Liang
Browse files

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: default avatarYanhong Wang <yanhong.wang@starfivetech.com>
Reviewed-by: default avatarRick Chen <rick@andestech.com>
parent 38d900b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment