From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Date: Fri, 2 Nov 2018 11:24:23 +0900 Subject: [U-Boot] [PATCH V2 02/13] mmc: tmio: Switch to clock framework In-Reply-To: <20181101093854.22491-1-marek.vasut+renesas@gmail.com> References: <20181031171606.13561-2-marek.vasut+renesas@gmail.com> <20181101093854.22491-1-marek.vasut+renesas@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Thu, Nov 1, 2018 at 6:39 PM Marek Vasut 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 > Cc: Masahiro Yamada > --- > 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