[U-Boot] [PATCH] mmc: use pr_* log functions
Jaehoon Chung
jh80.chung at samsung.com
Mon Jan 29 05:17:49 UTC 2018
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.masahiro at socionext.com>
Reviewed-by: Jaehoon Chung <jh80.chung at 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
More information about the U-Boot
mailing list