Skip to contentSkip to conversation

mmc: zynq_sdhci: improve debug print

PATCH New Jean-Francois Dagenais 2 participants 3 messages Apr 3, 2017 – Apr 14, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: zynq_sdhci: improve debug print

When debugging dual SDHCI controller setup, printing strings and bank info is very helpful.

---
 drivers/mmc/zynq_sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/zynq_sdhci.c +2 -2
index 089a424..f975165 100644
@@ -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,
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 mmc: zynq_sdhci: improve debug print

Quoted 4 lines · Jean-Francois Dagenais

When debugging dual SDHCI controller setup, printing strings and bank info is very helpful.

This was delegated to Michal, but it's related to mmc side. So i will change to delegate to me..and applied to u-boot-mmc. Thanks!

Best Regards,
Jaehoon Chung

Quoted 20 lines
---
 drivers/mmc/zynq_sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/zynq_sdhci.c +2 -2
index 089a424..f975165 100644
@@ -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 lore raw

PATCH 1/1 mmc: zynq_sdhci: improve debug print

Quoted 8 lines · Jaehoon Chung
Quoted 4 lines · Jean-Francois Dagenais

When debugging dual SDHCI controller setup, printing strings and bank info is very helpful.

This was delegated to Michal, but it's related to mmc side. So i will change to delegate to me..and applied to u-boot-mmc. Thanks!

Sorry. i can't apply this patch..Could you check this?

Best Regards,
Jaehoon Chung

Quoted 30 lines

Best Regards,
Jaehoon Chung

Quoted 10 lines
---
 drivers/mmc/zynq_sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/zynq_sdhci.c +0 -0
index 089a424..f975165 100644

drivers/mmc/zynq_sdhci.c static void arasan_sdhci_set_tapdelay(struct sdhci_host *host) · line 167

Quoted 10 lines
drivers/mmc/zynq_sdhci.c +2 -2
@@ -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,

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot