[U-Boot] [PATCH V2 02/13] mmc: tmio: Switch to clock framework
Masahiro Yamada
yamada.masahiro at socionext.com
Fri Nov 2 02:24:23 UTC 2018
On Thu, Nov 1, 2018 at 6:39 PM Marek Vasut <marek.vasut at gmail.com> wrote:
>
> Switch the driver to using clk_get_rate()/clk_set_rate() instead of
> caching the mclk frequency in it's private data. This is required on
> the SDHI variant of the controller, where the upstream mclk need to
> be adjusted when using UHS modes.
>
> Platforms which do not support clock framework or do not support it
> in eg. SPL default to 100 MHz clock.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
> V2: Fix build on certain platforms using SPL without clock framework
No. Not fixed.
uniphier_ld4_sld8_defconfig produces the following warning.
drivers/mmc/uniphier-sd.c: In function ‘uniphier_sd_probe’:
drivers/mmc/uniphier-sd.c:36:23: warning: unused variable ‘priv’
[-Wunused-variable]
struct tmio_sd_priv *priv = dev_get_priv(dev);
^~~~
--
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list