[PATCH RFC 10/20] mmc/jz_mmc: Add a JZ4740 compatible string

Lubomir Rintel lkundrak at v3.sk
Tue Nov 17 22:00:08 CET 2020


The driver doesn't use the jz4780's extra DMA channels and handles jz4740
just fine.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
 drivers/mmc/jz_mmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/jz_mmc.c b/drivers/mmc/jz_mmc.c
index b33f0850738..d4b9d15ef2e 100644
--- a/drivers/mmc/jz_mmc.c
+++ b/drivers/mmc/jz_mmc.c
@@ -490,6 +490,7 @@ static int jz_mmc_probe(struct udevice *dev)
 }
 
 static const struct udevice_id jz_mmc_ids[] = {
+	{ .compatible = "ingenic,jz4740-mmc" },
 	{ .compatible = "ingenic,jz4780-mmc" },
 	{ }
 };
-- 
2.28.0



More information about the U-Boot mailing list