On 01/28/2018 07:11 PM, Masahiro Yamada wrote:
> Use pr_* log functions from Linux.  They can be enabled/disabled
> via CONFIG_LOGLEVEL.
> 
> Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com>

Reviewed-by: Jaehoon Chung <jh80.ch...@samsung.com>

Best Regards,
Jaehoon Chung

> ---
> 
>  drivers/mmc/mmc.c | 68 
> +++++++++++++++++++++++++++----------------------------
>  1 file changed, 34 insertions(+), 34 deletions(-)
> 
> diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
> index 255310a..3a2e3b3 100644
> --- a/drivers/mmc/mmc.c
> +++ b/drivers/mmc/mmc.c
> @@ -213,8 +213,8 @@ static int mmc_select_mode(struct mmc *mmc, enum bus_mode 
> mode)
>       mmc->selected_mode = mode;
>       mmc->tran_speed = mmc_mode2freq(mmc, mode);
>       mmc->ddr_mode = mmc_is_mode_ddr(mode);
> -     debug("selecting mode %s (freq : %d MHz)\n", mmc_mode_name(mode),
> -           mmc->tran_speed / 1000000);
> +     pr_debug("selecting mode %s (freq : %d MHz)\n", mmc_mode_name(m

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

Reply via email to