]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: fix boot_devices constants
authorJohan Jonker <jbx6244@gmail.com>
Fri, 15 Apr 2022 21:21:43 +0000 (23:21 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 18 Apr 2022 03:25:13 +0000 (11:25 +0800)
The DT node name pattern in mmc-controller.yaml for mmc
is "^mmc(@.*)?$". The Rockchip mmc nodes have been synced
with Linux, so update the boot_devices constants as well.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3188/rk3188.c
arch/arm/mach-rockchip/rk322x/rk322x.c
arch/arm/mach-rockchip/rk3288/rk3288.c
arch/arm/mach-rockchip/rk3328/rk3328.c
arch/arm/mach-rockchip/rk3368/rk3368.c

index 5a02914e1b0dcd23f95c50da1886cc1abafed6d9..df8fa1566f07cbc53f182667dc3e1b48a245748e 100644 (file)
@@ -21,8 +21,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] = "/mmc@1021c000",
+       [BROM_BOOTSOURCE_SD] = "/mmc@10214000",
 };
 
 #ifdef CONFIG_DEBUG_UART_BOARD_INIT
index ad4ac62e514247b768bc2d8b25d8a8f75a3dfb2f..a304795fec6e337bb154c66422de74a66b21326f 100644 (file)
@@ -9,8 +9,8 @@
 #include <asm/arch-rockchip/hardware.h>
 
 const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
-       [BROM_BOOTSOURCE_EMMC] = "/dwmmc@30020000",
-       [BROM_BOOTSOURCE_SD] = "/dwmmc@30000000",
+       [BROM_BOOTSOURCE_EMMC] = "/mmc@30020000",
+       [BROM_BOOTSOURCE_SD] = "/mmc@30000000",
 };
 
 #ifdef CONFIG_DEBUG_UART_BOARD_INIT
index bc20bc5ab90933f740bfe6c4bbc1af8cbeeab2d0..3ad2887575da2e4086a8336a589a4eff4c18823e 100644 (file)
@@ -28,8 +28,8 @@ DECLARE_GLOBAL_DATA_PTR;
 #define GRF_BASE       0xff770000
 
 const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
-       [BROM_BOOTSOURCE_EMMC] = "/dwmmc@ff0f0000",
-       [BROM_BOOTSOURCE_SD] = "/dwmmc@ff0c0000",
+       [BROM_BOOTSOURCE_EMMC] = "/mmc@ff0f0000",
+       [BROM_BOOTSOURCE_SD] = "/mmc@ff0c0000",
 };
 
 #ifdef CONFIG_SPL_BUILD
index ec3336cb49af687beef8eee2b26db6c74347205e..de17b8868273b6e7a8b12ccc8e357fdf6ae407cf 100644 (file)
@@ -21,8 +21,8 @@ DECLARE_GLOBAL_DATA_PTR;
 #define FW_DDR_CON_REG         0xFF7C0040
 
 const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
-       [BROM_BOOTSOURCE_EMMC] = "/rksdmmc@ff520000",
-       [BROM_BOOTSOURCE_SD] = "/rksdmmc@ff500000",
+       [BROM_BOOTSOURCE_EMMC] = "/mmc@ff520000",
+       [BROM_BOOTSOURCE_SD] = "/mmc@ff500000",
 };
 
 static struct mm_region rk3328_mem_map[] = {
index 9b7132d471c37060ea390a1b9d6dfe64af51fda9..d0a6107e5e0e62e02b0f2e723d6dec0b7cb15cbe 100644 (file)
@@ -58,8 +58,8 @@ static struct mm_region rk3368_mem_map[] = {
 struct mm_region *mem_map = rk3368_mem_map;
 
 const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
-       [BROM_BOOTSOURCE_EMMC] = "/dwmmc@ff0f0000",
-       [BROM_BOOTSOURCE_SD] = "/dwmmc@ff0c0000",
+       [BROM_BOOTSOURCE_EMMC] = "/mmc@ff0f0000",
+       [BROM_BOOTSOURCE_SD] = "/mmc@ff0c0000",
 };
 
 #ifdef CONFIG_ARCH_EARLY_INIT_R