[PATCH 4/6] board: sifive: Add an interface to get PCB revision
    Leo Liang 
    ycliang at andestech.com
       
    Tue Jul  6 14:19:55 CEST 2021
    
    
  
On Wed, Jun 30, 2021 at 11:23:48PM +0800, Zong Li wrote:
> There are different DDR parameter settings for different board
> revisions. Add a new interface to get the PCB revision to determine
> which DT should be selected at runtime.
> 
> Signed-off-by: Zong Li <zong.li at sifive.com>
> ---
>  arch/riscv/include/asm/arch-fu740/eeprom.h    | 15 +++++++++
>  .../unmatched/hifive-platform-i2c-eeprom.c    | 32 +++++++++++++++++++
>  2 files changed, 47 insertions(+)
>  create mode 100644 arch/riscv/include/asm/arch-fu740/eeprom.h
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
    
    
More information about the U-Boot
mailing list