Skip to content

board: sifive: unmatched: reset multiple devices in SPL

Vincent Chen u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2board: sifive: unmatched: refine GEMGXL initialized function in SPLboard/sifive/unmatched/spl.c+39 -191 reply
2/2board: sifive: unmatched: reset USB hub, PCIe-USB bridge, and ULPI device in SPLboard/sifive/unmatched/spl.c+36 -01 reply

Reviews trailers per patch

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

PatchLeo Yu-Chi Liang
1/2R-b
2/2R-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/2] board: sifive: unmatched: reset multiple devices in SPL

In SiFive unmatched board, the reset of the USB hub, PCIe-USB bridge, and ULPI rely on the power-cycling. However, sometimes the rebooting is without power-cycling. To ensure these devices will be reset in each rebooting, here always reset these devices in the spl_board_init_f().

In addition, because the reset pint of these four devices incluing GEMGXL connects to the GPIO, the 1st patch creates a new wrapper, spl_reset_device_by_gpio(), to address the GPIO operation during the reset.

Vincent Chen (2):
board: sifive: unmatched: refine GEMGXL initialized function in SPL
board: sifive: unmatched: reset USB hub, PCIe-USB bridge, and ULPI
device in SPL

 board/sifive/unmatched/spl.c | 90 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 73 insertions(+), 17 deletions(-)
Signature · 1 line
2.7.4