Add DWMCI_QUIRK_DISABLE_FMP flag to Exynos850 driver data to make the
driver disable FMP in case of Exynos850 chip. That makes eMMC on
Exynos850 functional when U-Boot is executed during USB boot.

Signed-off-by: Sam Protsenko <[email protected]>
---
 drivers/mmc/exynos_dw_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
index 2027fcb82243..7ccd113bd796 100644
--- a/drivers/mmc/exynos_dw_mmc.c
+++ b/drivers/mmc/exynos_dw_mmc.c
@@ -490,7 +490,7 @@ static const struct exynos_dwmmc_variant 
exynos7_smu_drv_data = {
 
 static const struct exynos_dwmmc_variant exynos850_drv_data = {
        .clksel = DWMCI_CLKSEL64,
-       .quirks = DWMCI_QUIRK_DISABLE_SMU,
+       .quirks = DWMCI_QUIRK_DISABLE_SMU | DWMCI_QUIRK_DISABLE_FMP,
 };
 
 static const struct udevice_id exynos_dwmmc_ids[] = {
-- 
2.39.5

Reply via email to