From: Marek Vasut Date: Tue, 19 Feb 2019 18:32:28 +0000 (+0100) Subject: mmc: renesas: Unconditionally set DTCNTL TAPNUM to 8 X-Git-Tag: v2019.04-rc3~6^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ba41c45ec3402178520ca59d5d847c1c94ae25c4;p=oweals%2Fu-boot.git mmc: renesas: Unconditionally set DTCNTL TAPNUM to 8 According to latest specification rev.0026 and after confirmation with HW engineer, the DTCNTL register TAPNUM field must be set to 8 even on H3 ES2.0 SoC. Make it so. Signed-off-by: Marek Vasut Cc: Masahiro Yamada --- diff --git a/drivers/mmc/renesas-sdhi.c b/drivers/mmc/renesas-sdhi.c index 923f846370..6c51ccc294 100644 --- a/drivers/mmc/renesas-sdhi.c +++ b/drivers/mmc/renesas-sdhi.c @@ -137,7 +137,7 @@ static int renesas_sdhi_hs400(struct udevice *dev) tmio_sd_writel(priv, reg, RENESAS_SDHI_SCC_TMPPORT2); - tmio_sd_writel(priv, (taps << RENESAS_SDHI_SCC_DTCNTL_TAPNUM_SHIFT) | + tmio_sd_writel(priv, (0x8 << RENESAS_SDHI_SCC_DTCNTL_TAPNUM_SHIFT) | RENESAS_SDHI_SCC_DTCNTL_TAPEN, RENESAS_SDHI_SCC_DTCNTL);