The mainline DTS for the RK3568 EVB1 introduces mmc aliases sorted by the addresses of the corresponding controller. This commit fixes the instance number and aligns it with these aliases. Signed-off-by: Michael Riesch <michael.riesch@xxxxxxxxxxxxxx> --- arch/arm/mach-rockchip/rk3568.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3568.c b/arch/arm/mach-rockchip/rk3568.c index 234c6d22d..95f462eca 100644 --- a/arch/arm/mach-rockchip/rk3568.c +++ b/arch/arm/mach-rockchip/rk3568.c @@ -144,10 +144,10 @@ struct rk_bootsource { static struct rk_bootsource bootdev_map[] = { [0x1] = { .src = BOOTSOURCE_NAND, .instance = 0 }, - [0x2] = { .src = BOOTSOURCE_MMC, .instance = 0 }, + [0x2] = { .src = BOOTSOURCE_MMC, .instance = 1 }, [0x3] = { .src = BOOTSOURCE_SPI_NOR, .instance = 0 }, [0x4] = { .src = BOOTSOURCE_SPI_NAND, .instance = 0 }, - [0x5] = { .src = BOOTSOURCE_MMC, .instance = 1 }, + [0x5] = { .src = BOOTSOURCE_MMC, .instance = 0 }, [0xa] = { .src = BOOTSOURCE_USB, .instance = 0 }, }; -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox