[U-Boot] [PATCH 12/12] mmc: sdhci: zynqmp: Set tapdelays for eMMC HS200 mode

Siva Durga Prasad Paladugu siva.durga.paladugu at xilinx.com
Wed Jan 18 10:04:31 CET 2017


Sets the tapdelays for eMMC HS200 mode support for
ZynqMP as tapdelays needs to be programmed for it to
work

Signed-off-by: Siva Durga Prasad Paladugu <sivadur at xilinx.com>
---
 board/xilinx/zynqmp/tap_delays.c | 1 +
 drivers/mmc/zynq_sdhci.c         | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/xilinx/zynqmp/tap_delays.c b/board/xilinx/zynqmp/tap_delays.c
index d57587e..aa0825a 100644
--- a/board/xilinx/zynqmp/tap_delays.c
+++ b/board/xilinx/zynqmp/tap_delays.c
@@ -235,6 +235,7 @@ void arasan_zynqmp_set_tapdelay(u8 deviceid, u8 timing, u8 bank)
 		arasan_zynqmp_tap_sdr50(deviceid, timing, bank);
 		break;
 	case MMC_TIMING_UHS_SDR104:
+	case MMC_TIMING_MMC_HS200:
 		arasan_zynqmp_tap_sdr104(deviceid, timing, bank);
 		break;
 	case MMC_TIMING_UHS_DDR50:
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index 124a908..4799e9a 100644
--- a/drivers/mmc/zynq_sdhci.c
+++ b/drivers/mmc/zynq_sdhci.c
@@ -151,7 +151,7 @@ static void arasan_sdhci_set_tapdelay(struct sdhci_host *host, u8 uhsmode)
 	debug("%s, %d:%d, mode:%d\n", __func__, priv->deviceid, priv->bank,
 	      uhsmode);
 	if ((uhsmode >= MMC_TIMING_UHS_SDR25) &&
-	    (uhsmode <= MMC_TIMING_UHS_DDR50))
+	    (uhsmode <= MMC_TIMING_HS200))
 		arasan_zynqmp_set_tapdelay(priv->deviceid, uhsmode,
 					   priv->bank);
 }
-- 
2.7.4



More information about the U-Boot mailing list