On 11/02/2018 03:24 AM, Masahiro Yamada wrote: > On Thu, Nov 1, 2018 at 6:39 PM Marek Vasut <marek.va...@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+rene...@gmail.com> >> Cc: Masahiro Yamada <yamada.masah...@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);
Fixed in V3 -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot