rockchip: Fix spl mmc boot device ofpath
authorJagan Teki <jagan@amarulasolutions.com>
Sun, 24 May 2020 14:56:18 +0000 (20:26 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 29 May 2020 09:58:21 +0000 (17:58 +0800)
commit97de3935aabfe8632e6c737a9ecadabead802f04
treefa28085e1464a64fd75faf368d3cee619d3faf40
parentab80137cc436e977ef91a154372ae5aeae3f4fb0
rockchip: Fix spl mmc boot device ofpath

Linux v5.7-rc1 dts(i) sync has changed the sdmmc node from
dwmmc@fe320000 to mmc@fe320000 and this ofpath is being
used in rockchip spl bootdevice code.

So, update the ofpath with a new node name and prefix "same-as-spl"
to missing u-boot,spl-boot-order.

Bug log:
U-Boot SPL 2020.07-rc2-00256-g9c5fef5774 (May 24 2020 - 20:20:43 +0530)
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices

Fixes: 167efc2c7a46 ("arm64: dts: rk3399: Sync v5.7-rc1 from Linux"
Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-evb-u-boot.dtsi
arch/arm/dts/rk3399-ficus-u-boot.dtsi
arch/arm/dts/rk3399-rock960-u-boot.dtsi
arch/arm/mach-rockchip/rk3399/rk3399.c
board/theobroma-systems/puma_rk3399/puma-rk3399.c