From: Marek Vasut Date: Fri, 2 Nov 2018 15:43:23 +0100 Subject: [U-Boot] [PATCH V2 02/13] mmc: tmio: Switch to clock framework In-Reply-To: References: <20181031171606.13561-2-marek.vasut+renesas@gmail.com> <20181101093854.22491-1-marek.vasut+renesas@gmail.com> Message-ID: <7e96355d-1f20-1ab5-d3d1-a46dc16b7548@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On 11/02/2018 03:24 AM, Masahiro Yamada wrote: > 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); Fixed in V3 -- Best regards, Marek Vasut