[U-Boot] [PATCH] mmc: zynq_sdhci: improve debug print

Jaehoon Chung jh80.chung at samsung.com
Fri Apr 14 06:29:01 UTC 2017


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



More information about the U-Boot mailing list