e756db4ba3
Also enable MGLRU. [ci:skip-build]: already built successfully in CI
46 lines
1.5 KiB
Diff
46 lines
1.5 KiB
Diff
From cfcb22b0dca36c5355498424c2430a8a2fe11451 Mon Sep 17 00:00:00 2001
|
|
From: Linus Walleij <linus.walleij@linaro.org>
|
|
Date: Sat, 5 Feb 2022 12:08:42 +0100
|
|
Subject: [PATCH 1/2] Disable busy detect on Ux500 MMCI
|
|
|
|
---
|
|
drivers/mmc/host/mmci.c | 16 ++++++++--------
|
|
1 file changed, 8 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
|
|
index 012aa85489d8..886a1a8a4cb3 100644
|
|
--- a/drivers/mmc/host/mmci.c
|
|
+++ b/drivers/mmc/host/mmci.c
|
|
@@ -180,10 +180,10 @@ static struct variant_data variant_ux500 = {
|
|
.f_max = 100000000,
|
|
.signal_direction = true,
|
|
.pwrreg_clkgate = true,
|
|
- .busy_detect = true,
|
|
- .busy_dpsm_flag = MCI_DPSM_ST_BUSYMODE,
|
|
- .busy_detect_flag = MCI_ST_CARDBUSY,
|
|
- .busy_detect_mask = MCI_ST_BUSYENDMASK,
|
|
+ //.busy_detect = true,
|
|
+ //.busy_dpsm_flag = MCI_DPSM_ST_BUSYMODE,
|
|
+ //.busy_detect_flag = MCI_ST_CARDBUSY,
|
|
+ //.busy_detect_mask = MCI_ST_BUSYENDMASK,
|
|
.pwrreg_nopower = true,
|
|
.mmcimask1 = true,
|
|
.irq_pio_mask = MCI_IRQ_PIO_MASK,
|
|
@@ -215,10 +215,10 @@ static struct variant_data variant_ux500v2 = {
|
|
.f_max = 100000000,
|
|
.signal_direction = true,
|
|
.pwrreg_clkgate = true,
|
|
- .busy_detect = true,
|
|
- .busy_dpsm_flag = MCI_DPSM_ST_BUSYMODE,
|
|
- .busy_detect_flag = MCI_ST_CARDBUSY,
|
|
- .busy_detect_mask = MCI_ST_BUSYENDMASK,
|
|
+ //.busy_detect = true,
|
|
+ //.busy_dpsm_flag = MCI_DPSM_ST_BUSYMODE,
|
|
+ //.busy_detect_flag = MCI_ST_CARDBUSY,
|
|
+ //.busy_detect_mask = MCI_ST_BUSYENDMASK,
|
|
.pwrreg_nopower = true,
|
|
.mmcimask1 = true,
|
|
.irq_pio_mask = MCI_IRQ_PIO_MASK,
|
|
--
|
|
2.38.1
|
|
|