From: Kever Yang Date: Mon, 22 Jul 2019 11:59:17 +0000 (+0800) Subject: rockchip: rk3188: add boot_devices mapping to support 'same-as-spl' X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3b3c623e61319ae268c5ccb55078931161bc719e;p=u-boot.git rockchip: rk3188: add boot_devices mapping to support 'same-as-spl' The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by: Kever Yang --- diff --git a/arch/arm/mach-rockchip/rk3188/rk3188.c b/arch/arm/mach-rockchip/rk3188/rk3188.c index 7a0b10a27d..08792f1674 100644 --- a/arch/arm/mach-rockchip/rk3188/rk3188.c +++ b/arch/arm/mach-rockchip/rk3188/rk3188.c @@ -4,11 +4,17 @@ */ #include #include +#include #include #include #define GRF_BASE 0x20008000 +const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = { + [BROM_BOOTSOURCE_EMMC] = "dwmmc@1021c000", + [BROM_BOOTSOURCE_SD] = "dwmmc@10214000", +}; + #ifdef CONFIG_DEBUG_UART_BOARD_INIT void board_debug_uart_init(void) {