mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-13 21:36:57 +00:00
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: 0d61f8e5f1
("rockchip: rk3568: add boot device detection")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
8653e5d3b7
commit
42f67fb51c
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
|
||||
chosen {
|
||||
u-boot,spl-boot-order = &sdhci, &sdmmc0;
|
||||
u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc0;
|
||||
};
|
||||
|
||||
dmc: dmc {
|
||||
|
|
|
@ -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",
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue