Skip to content

Support multi-dtb in SPL on Unmatched board

Zong Li u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6board: sifive: unmatched: add initial support for a platform ID EEPROMboard/sifive/unmatched/Makefile board/sifive/unmatched/hifive-platform-i2c-eeprom.c include/configs/sifive-unmatched.h+549 -01 reply
2/6riscv: sifive: fu740: kconfig: Enable support for Opencores I2C controllerarch/riscv/cpu/fu740/Kconfig board/sifive/unmatched/Kconfig+3 -01 reply
3/6riscv: sifive: fu740: Support i2c in splarch/riscv/cpu/fu740/Kconfig arch/riscv/dts/fu740-c000-u-boot.dtsi+5 -01 reply
4/6board: sifive: Add an interface to get PCB revisionarch/riscv/include/asm/arch-fu740/eeprom.h board/sifive/unmatched/hifive-platform-i2c-eeprom.c+47 -01 reply
5/6riscv: dts: add dts for unmatched rev1arch/riscv/dts/Makefile arch/riscv/dts/fu740-hifive-unmatched-a00-ddr-rev1.dtsi arch/riscv/dts/hifive-unmatched-a00-rev1-u-boot.dtsi +1 more+1501 -11 reply
6/6board: sifive: support spl multi-dtb on unmatched boardboard/sifive/unmatched/spl.c configs/sifive_unmatched_defconfig+30 -21 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchLeo Yu-Chi Liang
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Support multi-dtb in SPL on Unmatched board

This patch set contains the support I2C platform EEPROM and multi-dtb mechanism on Unmatched board. There are two revisions of Unmatched with different DDR timing respectively, so we'd like to support multi-dtb in SPL, then it can select the right DTB at runtime according to PCB revision in I2C EEPROM to initialize the right DDR timing.

The I2C EEPROM support is refactored based on Paul Welmsley's porting and adopt many suggestions from David Abdurachmanov.

Zong Li (6):
board: sifive: unmatched: add initial support for a platform ID EEPROM
riscv: sifive: fu740: kconfig: Enable support for Opencores I2C
controller
riscv: sifive: fu740: Support i2c in spl
board: sifive: Add an interface to get PCB revision
riscv: dts: add dts for unmatched rev1
board: sifive: support spl multi-dtb on unmatched board

 arch/riscv/cpu/fu740/Kconfig                  |    3 +
 arch/riscv/dts/Makefile                       |    2 +-
 arch/riscv/dts/fu740-c000-u-boot.dtsi         |    4 +
 .../fu740-hifive-unmatched-a00-ddr-rev1.dtsi  | 1489 +++++++++++++++++
 .../dts/hifive-unmatched-a00-rev1-u-boot.dtsi |    7 +
 arch/riscv/dts/hifive-unmatched-a00-rev1.dts  |    4 +
 arch/riscv/include/asm/arch-fu740/eeprom.h    |   15 +
 board/sifive/unmatched/Kconfig                |    1 +
 board/sifive/unmatched/Makefile               |    1 +
 .../unmatched/hifive-platform-i2c-eeprom.c    |  574 +++++++
 board/sifive/unmatched/spl.c                  |   28 +-
 configs/sifive_unmatched_defconfig            |    4 +
 include/configs/sifive-unmatched.h            |    6 +
 13 files changed, 2135 insertions(+), 3 deletions(-)
 create mode 100644 arch/riscv/dts/fu740-hifive-unmatched-a00-ddr-rev1.dtsi
 create mode 100644 arch/riscv/dts/hifive-unmatched-a00-rev1-u-boot.dtsi
 create mode 100644 arch/riscv/dts/hifive-unmatched-a00-rev1.dts
 create mode 100644 arch/riscv/include/asm/arch-fu740/eeprom.h
 create mode 100644 board/sifive/unmatched/hifive-platform-i2c-eeprom.c
Signature · 1 line
2.31.1