u-boot/0004-Temp-workaround-for-Chromebook-snow.patch
Matthias Brugger 7f03d9189a - Update to 2024.10:
* Full changelog available at:
    https://source.denx.de/u-boot/u-boot/-/compare/v2024.10...v2025.01
Patch queue updated from https://github.com/openSUSE/u-boot.git tumbleweed-2025.01
* Patches dropped:
  0016-cmd-boot-add-brom-cmd-to-reboot-to-.patch
  0017-riscv-dts-jh7110-Update-qspi-node-w.patch
  0018-Revert-riscv-dts-jh7110-Update-qspi.patch
  0019-scripts-dtc-pylibfdt-libfdt.i_shipp.patch

OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=227
2025-01-21 15:13:53 +00:00

25 lines
903 B
Diff

From 589673af579dc7fcd0dd8840a8e31a68b7cd7dad 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 e1110cace8..a657e7fbe4 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -766,7 +766,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;
}