mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-08-24 03:14:06 +02:00
28 lines
998 B
Diff
28 lines
998 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Mitko Gamishev <hehopmajieh@debian.bg>
|
|
Date: Wed, 5 Feb 2020 15:31:25 +0200
|
|
Subject: 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 111111111111..222222222222 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);
|
|
--
|
|
Armbian
|
|
|