summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/rk3188
diff options
context:
space:
mode:
authorLevin Du <djw@t-chip.com.cn>2019-10-17 10:22:38 +0300
committerKever Yang <kever.yang@rock-chips.com>2019-11-10 15:40:20 +0300
commit2d86ab50cee3c68e0bac3c583d3e0c816eaa3937 (patch)
treed6515a9e69f7804463981b8b19ab5c33a0b6aa53 /arch/arm/mach-rockchip/rk3188
parent6024467bcc0e38fb5f1d2d80b73e770c94e4530c (diff)
downloadu-boot-2d86ab50cee3c68e0bac3c583d3e0c816eaa3937.tar.xz
rockchip: adding the missing "/" in entries of boot_devices
Without the prefix, "same-as-spl" in `u-boot,spl-boot-order` will not work as expected. When board_boot_order() `spl-boot-order.c` meets "same-as-spl", it gets the conf by looking the boot_devices table by boot source, and parse the node by the conf with: node = fdt_path_offset(blob, conf); which will failed without the "/" indicating the path. Currently only entries of boot_devices in rk3399 have the "/" prefix. Therefore add the missing ones in other boards. Signed-off-by: Levin Du <djw@t-chip.com.cn> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3188')
-rw-r--r--arch/arm/mach-rockchip/rk3188/rk3188.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-rockchip/rk3188/rk3188.c b/arch/arm/mach-rockchip/rk3188/rk3188.c
index 95f0e3ccbe..1b012f7f67 100644
--- a/arch/arm/mach-rockchip/rk3188/rk3188.c
+++ b/arch/arm/mach-rockchip/rk3188/rk3188.c
@@ -14,8 +14,8 @@
#define GRF_BASE 0x20008000
const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
- [BROM_BOOTSOURCE_EMMC] = "dwmmc@1021c000",
- [BROM_BOOTSOURCE_SD] = "dwmmc@10214000",
+ [BROM_BOOTSOURCE_EMMC] = "/dwmmc@1021c000",
+ [BROM_BOOTSOURCE_SD] = "/dwmmc@10214000",
};
#ifdef CONFIG_DEBUG_UART_BOARD_INIT