diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2023-03-14 00:38:23 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-03-19 13:17:28 +0800 |
commit | 42f67fb51cb4f0aa84f39ea755f46686bec9f0b7 (patch) | |
tree | 10901aa21c7614aed54433bc90550ca074b07936 | |
parent | 8653e5d3b745925fced5fa6897c92f4a46ec2757 (diff) | |
download | u-boot-42f67fb51cb4f0aa84f39ea755f46686bec9f0b7.zip u-boot-42f67fb51cb4f0aa84f39ea755f46686bec9f0b7.tar.gz u-boot-42f67fb51cb4f0aa84f39ea755f46686bec9f0b7.tar.bz2 |
rockchip: rk3568: Fix boot device detection
The boot source node path for emmc is using the old sdhci name.
Replace with correct mmc name and also add same-as-spl to boot order.
Fixes: 0d61f8e5f1c0 ("rockchip: rk3568: add boot device detection")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
-rw-r--r-- | arch/arm/dts/rk356x-u-boot.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/mach-rockchip/rk3568/rk3568.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/rk356x-u-boot.dtsi b/arch/arm/dts/rk356x-u-boot.dtsi index 2331641..04a7b0a 100644 --- a/arch/arm/dts/rk356x-u-boot.dtsi +++ b/arch/arm/dts/rk356x-u-boot.dtsi @@ -12,7 +12,7 @@ }; chosen { - u-boot,spl-boot-order = &sdhci, &sdmmc0; + u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc0; }; dmc: dmc { diff --git a/arch/arm/mach-rockchip/rk3568/rk3568.c b/arch/arm/mach-rockchip/rk3568/rk3568.c index 4a08820a..69ef19c 100644 --- a/arch/arm/mach-rockchip/rk3568/rk3568.c +++ b/arch/arm/mach-rockchip/rk3568/rk3568.c @@ -82,7 +82,7 @@ static struct mm_region rk3568_mem_map[] = { }; const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = { - [BROM_BOOTSOURCE_EMMC] = "/sdhci@fe310000", + [BROM_BOOTSOURCE_EMMC] = "/mmc@fe310000", [BROM_BOOTSOURCE_SPINOR] = "/spi@fe300000/flash@0", [BROM_BOOTSOURCE_SD] = "/mmc@fe2b0000", }; |