[PATCH v2 0/3] rockchip: Fix SPI boot on Pinebook Pro, Puma and RK3399-ROC-PC
Commit c4cea2bbf995 ("rockchip: Enable building a SPI ROM image on bob")
added an alias spi1 referring to spi@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
On Sun, Nov 22, 2020 at 01:03:44PM +0000, Hugh Cole-Baker wrote:
> SPI flash on this machine is located on bus 1, default to using bus 1
> for SPI flash and stop aliasing it to bus 0.
> Signed-off-by: Hugh Cole-Baker <[hidden email]>
> Suggested-by: Simon Glass <[hidden email]>
> Fixes: c4cea2bb ("rockchip: Enable building a SPI ROM image on bob")