File 0004-Temp-workaround-for-Chromebook-snow.patch of Package u-boot-rpi
25
1
From b9c7341bde4c8eb3f60bf20a3198055a24490503 Mon Sep 17 00:00:00 2001
2
From: Guillaume GARDET <guillaume.gardet@free.fr>
3
Date: Mon, 9 Apr 2018 10:28:26 +0200
4
Subject: [PATCH] Temp workaround for Chromebook snow to avoid the 'unable to
5
select a mode' error
6
7
---
8
drivers/mmc/dw_mmc.c | 3 ++-
9
1 file changed, 2 insertions(+), 1 deletion(-)
10
11
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
12
index 7544b84ab6..b10f6bb2f4 100644
13
--- a/drivers/mmc/dw_mmc.c
14
+++ b/drivers/mmc/dw_mmc.c
15
16
cfg->host_caps |= MMC_MODE_4BIT;
17
cfg->host_caps &= ~MMC_MODE_8BIT;
18
}
19
- cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
20
+ /* Temp workaround for Chromebook snow to avoid the 'unable to select a mode' error */
21
+// cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
22
23
cfg->b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;
24
}
25