All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print
@ 2017-04-03  1:42 ` Jean-Francois Dagenais
  2017-04-14  6:29   ` Jaehoon Chung
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Francois Dagenais @ 2017-04-03  1:42 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print
  2017-04-03  1:42 ` [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print Jean-Francois Dagenais
@ 2017-04-14  6:29   ` Jaehoon Chung
  2017-04-14  6:32     ` Jaehoon Chung
  0 siblings, 1 reply; 3+ messages in thread
From: Jaehoon Chung @ 2017-04-14  6:29 UTC (permalink / raw)
  To: u-boot

On 04/03/2017 10:42 AM, Jean-Francois Dagenais wrote:
> When debugging dual SDHCI controller setup, printing strings and bank info
> is very helpful.
> 
> Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>

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

> ---
>  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,
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print
  2017-04-14  6:29   ` Jaehoon Chung
@ 2017-04-14  6:32     ` Jaehoon Chung
  0 siblings, 0 replies; 3+ messages in thread
From: Jaehoon Chung @ 2017-04-14  6:32 UTC (permalink / raw)
  To: u-boot

On 04/14/2017 03:29 PM, Jaehoon Chung wrote:
> On 04/03/2017 10:42 AM, Jean-Francois Dagenais wrote:
>> When debugging dual SDHCI controller setup, printing strings and bank info
>> is very helpful.
>>
>> Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
> 
> 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

> 
> Best Regards,
> Jaehoon Chung
> 
>> ---
>>  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,
>>
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-14  6:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170403014243epcas2p140cc1903315925efb9e583efa3c474d2@epcas2p1.samsung.com>
2017-04-03  1:42 ` [U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print Jean-Francois Dagenais
2017-04-14  6:29   ` Jaehoon Chung
2017-04-14  6:32     ` Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.