> From: Yanhong Wang <yanhong.w...@starfivetech.com>
> Sent: Thursday, June 15, 2023 5:37 PM
> To: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) <r...@andestech.com>; Leo 
> Yu-Chi Liang(梁育齊) <ycli...@andestech.com>; Joe Hershberger 
> <joe.hershber...@ni.com>; Ramon Fried <rfried....@gmail.com>
> Cc: Yanhong Wang <yanhong.w...@starfivetech.com>; Torsten Duwe <d...@lst.de>; 
> Leyfoon Tan <leyfoon....@starfivetech.com>; samin . guo 
> <samin....@starfivetech.com>; Walker Chen <walker.c...@starfivetech.com>; Hal 
> Feng <hal.f...@starfivetech.com>
> Subject: [PATCH v5 11/11] 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.w...@starfivetech.com>
> ---
>  board/starfive/visionfive2/spl.c | 157 +++++++++++++++++++++++++++++++
>  1 file changed, 157 insertions(+)

Reviewed-by: Rick Chen <r...@andestech.com>

Reply via email to