All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] rockchip: Fix SPI boot on Pinebook Pro, Puma and RK3399-ROC-PC
@ 2020-11-22 13:03 Hugh Cole-Baker
  2020-11-22 13:03 ` [PATCH v2 1/3] rockchip: pinebook-pro: default to SPI bus 1 for SPI-flash Hugh Cole-Baker
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Hugh Cole-Baker @ 2020-11-22 13:03 UTC (permalink / raw)
  To: u-boot

Commit c4cea2bbf995 ("rockchip: Enable building a SPI ROM image on bob")
added an alias spi1 referring to spi at ff1d0000, however in several boards
there was already an alias spi0 referring to the same node, and having
both aliases present broke booting U-Boot from SPI flash.

This series removes the spi0 alias from the Pinebook Pro, RK3399-ROC-PC
and Puma dts and sets the default bus for SPI flash to 1, so that the
correct device is used. The Rockpro64 board, which was also affected,
has already had the same type of fix applied.

This has only been compile-tested - testing by folks who have the
affected boards would be welcome.

Changes in v2:
Also make this change to the Puma-Haikou board as suggested by Kever.

Hugh Cole-Baker (3):
  rockchip: pinebook-pro: default to SPI bus 1 for SPI-flash
  rockchip: rk3399-roc-pc: default to SPI bus 1 for SPI-flash
  rockchip: puma-haikou: default to SPI bus 1 for SPI-flash

 arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 4 ----
 arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi  | 3 +--
 arch/arm/dts/rk3399-roc-pc-u-boot.dtsi       | 4 ----
 configs/pinebook-pro-rk3399_defconfig        | 2 ++
 configs/puma-rk3399_defconfig                | 2 ++
 configs/roc-pc-mezzanine-rk3399_defconfig    | 1 +
 configs/roc-pc-rk3399_defconfig              | 1 +
 7 files changed, 7 insertions(+), 10 deletions(-)

-- 
2.24.3 (Apple Git-128)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-08 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-22 13:03 [PATCH v2 0/3] rockchip: Fix SPI boot on Pinebook Pro, Puma and RK3399-ROC-PC Hugh Cole-Baker
2020-11-22 13:03 ` [PATCH v2 1/3] rockchip: pinebook-pro: default to SPI bus 1 for SPI-flash Hugh Cole-Baker
2021-01-08 15:58   ` Tom Rini
2020-11-22 13:03 ` [PATCH v2 2/3] rockchip: rk3399-roc-pc: " Hugh Cole-Baker
2020-11-22 13:03 ` [PATCH v2 3/3] rockchip: puma-haikou: " Hugh Cole-Baker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.