diff options
author | Yanhong Wang <yanhong.wang@starfivetech.com> | 2023-06-15 17:36:52 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-07-12 13:21:40 +0800 |
commit | c9745365f516a361be9cbe3568d2b8608084bbbf (patch) | |
tree | 20aaefd1cb8ba34f4841fb63a685957011c228d1 /drivers/timer/altera_timer.c | |
parent | 38d900b409199df02a1a26dfcb464d4d2b6e27d2 (diff) |
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>
Diffstat (limited to 'drivers/timer/altera_timer.c')
0 files changed, 0 insertions, 0 deletions