u-boot/0004-Temp-workaround-for-Chromebook-snow.patch
Guillaume GARDET 818d48706c Accepting request 649328 from hardware👢staging
- Update to v2018.11
- Update from arm-trusted-firmware-pine64 to arm-trusted-firmware-sun50ia64
- pineh64: Use new arm-trusted-firmware-sun50ih6
- Add bananapim64
- u-boot.spec.in, u-boot-board.spec.in: Update to use https
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.11
* Patches added:
  0007-Revert-efi_loader-remove-efi_exit_c.patch
- Update to v2018.11-rc3
- Update to v2018.11-rc2
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.11
* Patches dropped:
  0007-rockchip-make_fit_atf-use-elf-entry.patch
  0008-rockchip-make_fit_atf-make-python3-.patch
  0009-rockchip-make_fit_atf.py-depends-on.patch
- Update to v2018.11-rc1
- Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2018.11
* Patches dropped:
  0010-ARM-tegra-reserve-unmapped-RAM-so-E.patch
- nanopia64, orangepipc2: Conditionally enable ATF
- Add pineh64 (ATF TBD)

OBS-URL: https://build.opensuse.org/request/show/649328
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=28
2018-11-15 17:08:45 +00:00

25 lines
903 B
Diff

From f4f6660237dd6484143fb98edd86a2d967b34cd0 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 7544b84ab6..b10f6bb2f4 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -539,7 +539,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;
}