29 lines
1008 B
Diff
29 lines
1008 B
Diff
From 42ed87a6be1aaf8c803aa993b5410834851de2f2 Mon Sep 17 00:00:00 2001
|
|
From: Mitko Gamishev <hehopmajieh@debian.bg>
|
|
Date: Wed, 5 Feb 2020 15:31:25 +0200
|
|
Subject: [PATCH 049/153] drv:mmc:host:sunxi-mmc Disable DDR52 mode on all A20
|
|
based boards
|
|
|
|
---
|
|
drivers/mmc/host/sunxi-mmc.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c
|
|
index 3dc6a0990..306428e77 100644
|
|
--- a/drivers/mmc/host/sunxi-mmc.c
|
|
+++ b/drivers/mmc/host/sunxi-mmc.c
|
|
@@ -1452,7 +1452,9 @@ static int sunxi_mmc_probe(struct platform_device *pdev)
|
|
*/
|
|
if ((host->cfg->clk_delays || host->use_new_timings) &&
|
|
!of_device_is_compatible(pdev->dev.of_node,
|
|
- "allwinner,sun50i-h5-emmc"))
|
|
+ "allwinner,sun50i-h5-emmc") &&
|
|
+ !of_machine_is_compatible("allwinner,sun7i-a20") &&
|
|
+ !of_machine_is_compatible("olimex,a64-olinuxino-2ge8g"))
|
|
mmc->caps |= MMC_CAP_1_8V_DDR | MMC_CAP_3_3V_DDR;
|
|
|
|
ret = mmc_of_parse(mmc);
|
|
--
|
|
2.35.3
|
|
|