diff mbox series

[U-Boot,2/4] rockchip: dwmmc: add rk2928-dw-mshc compatible

Message ID 20180921085948.26975-3-heiko@sntech.de
State Accepted
Commit 26a52f34734c5aec031c9884df521b657dc22886
Delegated to: Philipp Tomsich
Headers show
Series rockchip: allow rk3188 to boot from mmc devices | expand

Commit Message

Heiko Stuebner Sept. 21, 2018, 8:59 a.m. UTC
The rk3188 works nicely with the rockchip mmc driver, so we just need
to add the different compatible for it - as used in the Linux kernel.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 drivers/mmc/rockchip_dw_mmc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Philipp Tomsich Sept. 21, 2018, 9:16 a.m. UTC | #1
> On 21.09.2018, at 10:59, Heiko Stuebner <heiko@sntech.de> wrote:
> 
> The rk3188 works nicely with the rockchip mmc driver, so we just need
> to add the different compatible for it - as used in the Linux kernel.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich Oct. 2, 2018, 2 p.m. UTC | #2
> The rk3188 works nicely with the rockchip mmc driver, so we just need
> to add the different compatible for it - as used in the Linux kernel.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
>  drivers/mmc/rockchip_dw_mmc.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied to u-boot-rockchip, thanks!
diff mbox series

Patch

diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c
index f54d95a881..bf2d83a52c 100644
--- a/drivers/mmc/rockchip_dw_mmc.c
+++ b/drivers/mmc/rockchip_dw_mmc.c
@@ -156,6 +156,7 @@  static int rockchip_dwmmc_bind(struct udevice *dev)
 }
 
 static const struct udevice_id rockchip_dwmmc_ids[] = {
+	{ .compatible = "rockchip,rk2928-dw-mshc" },
 	{ .compatible = "rockchip,rk3288-dw-mshc" },
 	{ }
 };