u-boot/0011-Temp-workaround-for-Chromebook-snow.patch
Guillaume GARDET 39b598b2ce Accepting request 594811 from home:Guillaume_G:branches:hardware:boot
- Workaround to boot on Chromebook (snow)
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.03
* Patches added:
  0011-Temp-workaround-for-Chromebook-snow.patch

OBS-URL: https://build.opensuse.org/request/show/594811
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=12
2018-04-09 09:18:07 +00:00

25 lines
903 B
Diff

From 7710a68a4efaa90acd0ac57aa04909b63199e410 Mon Sep 17 00:00:00 2001
From: Guillaume GARDET <guillaume.gardet@free.fr>
Date: Mon, 9 Apr 2018 10:28:26 +0200
Subject: [PATCH] Temp workaround for Chromebook snow to avoid the 'unable to
select a mode' error
---
drivers/mmc/dw_mmc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 23f642980b..28f4fa0f21 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -508,7 +508,8 @@ void dwmci_setup_cfg(struct mmc_config *cfg, struct dwmci_host *host,
cfg->host_caps |= MMC_MODE_4BIT;
cfg->host_caps &= ~MMC_MODE_8BIT;
}
- cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
+ /* Temp workaround for Chromebook snow to avoid the 'unable to select a mode' error */
+// cfg->host_caps |= MMC_MODE_HS | MMC_MODE_HS_52MHz;
cfg->b_max = CONFIG_SYS_MMC_MAX_BLK_COUNT;
}