[U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print
Jean-Francois Dagenais
jeff.dagenais at gmail.com
Mon Apr 3 01:42:23 UTC 2017
When debugging dual SDHCI controller setup, printing strings and bank info
is very helpful.
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais at gmail.com>
---
drivers/mmc/zynq_sdhci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index 089a424..f975165 100644
--- a/drivers/mmc/zynq_sdhci.c
+++ b/drivers/mmc/zynq_sdhci.c
@@ -160,8 +160,8 @@ static void arasan_sdhci_set_tapdelay(struct sdhci_host *host)
else
return;
- debug("%s, %d:%d, mode:%d\n", __func__, priv->deviceid, priv->bank,
- uhsmode);
+ debug("%s, host:%s devId:%d, bank:%d, mode:%d\n", __func__, host->name,
+ priv->deviceid, priv->bank, uhsmode);
if ((uhsmode >= MMC_TIMING_UHS_SDR25) &&
(uhsmode <= MMC_TIMING_HS200))
arasan_zynqmp_set_tapdelay(priv->deviceid, uhsmode,
--
2.1.4
More information about the U-Boot
mailing list