]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3568-rock-3a: Fix SPI Flash alias
authorJonas Karlman <jonas@kwiboo.se>
Fri, 28 Jul 2023 12:05:40 +0000 (12:05 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 31 Jul 2023 09:34:43 +0000 (17:34 +0800)
commit52f6b96d27c8aabca697ac395e86a3481f1c53b7
tree61aef30a2eb6ac5d70522320f68d9c761fbc52ce
parent6ed39520a70e76dd9b3f374d62a60de986f051c0
rockchip: rk3568-rock-3a: Fix SPI Flash alias

The commit 64f79f88a751 ("rockchip: rk3568-rock-3a: Enable boot from SPI
NOR flash") enabled SPI flash support by overriding the spi0 alias.

Correct this by adding a new spi4 alias in rk356x-u-boot.dtsi and
SF_DEFAULT_BUS=4 and SPL_DM_SEQ_ALIAS=y in defconfig. Also enabled
support for parsing and auto discovery of parameters, SFDP.

Fixes: 64f79f88a751 ("rockchip: rk3568-rock-3a: Enable boot from SPI NOR flash")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3568-rock-3a-u-boot.dtsi
arch/arm/dts/rk356x-u-boot.dtsi
configs/rock-3a-rk3568_defconfig