mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* sunxi-5.18: add megous patches: tag: orange-pi-5.18-20220627-1924 * tools: mk_format_patch: ignore-matching-lines git version * sunxi-5.18: re-extracted armbian patches after being applied to 5.18.8 * sunxi-5.18: switch to version tag=v5.18.8
29 lines
1008 B
Diff
29 lines
1008 B
Diff
From 8f50e3632c2a92685cdabf176835f8e31d37cab4 Mon Sep 17 00:00:00 2001
|
|
From: Mitko Gamishev <hehopmajieh@debian.bg>
|
|
Date: Wed, 5 Feb 2020 15:31:25 +0200
|
|
Subject: [PATCH 063/169] 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 ae7f3b930..a1eebc1dc 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
|
|
|