rockchip: rk356x-u-boot: Use relaxed u-boot,spl-boot-order
authorJonas Karlman <jonas@kwiboo.se>
Fri, 28 Jul 2023 11:53:08 +0000 (11:53 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 31 Jul 2023 09:34:43 +0000 (17:34 +0800)
commitf40dcc7d1e74ff5aa5f709918e26cb31277dcea0
treed0edf1c89060b16f2c6f8de36131b9f517b10a2d
parenta3ef37a08df3c6aa463ad794e1f788d8a24b129c
rockchip: rk356x-u-boot: Use relaxed u-boot,spl-boot-order

BootRom will try to load TPL+SPL from media in the following order:
- SPI NOR Flash
- SPI NAND Flash
- NAND Flash
- eMMC
- SDMMC

SPL will try to load FIT from media in the order defined in the device
tree u-boot,spl-boot-order property.

Change the default order to load FIT from to:
- same media as TPL+SPL
- SDMMC
- eMMC

Boards with strict load order requirements should override the
u-boot,spl-boot-order property in the board specific u-boot.dtsi.

Fixes: 42f67fb51cb4 ("rockchip: rk3568: Fix boot device detection")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk356x-u-boot.dtsi