[U-Boot] [PATCH v2 09/15] dm: mmc: sunxi: Drop mmc_clk_io_on()

Maxime Ripard maxime.ripard at free-electrons.com
Wed Jul 5 14:42:53 UTC 2017


On Tue, Jul 04, 2017 at 01:31:26PM -0600, Simon Glass wrote:
> This function has #ifdefs in it which we want to avoid for driver model.
> Instead we should use different compatible strings and the .data field.
> It also uses the MMC device number which is not available in driver
> model except through aliases.
> 
> Move the function's into its caller so that the driver-model version can
> do things its own way.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170705/ac705030/attachment.sig>


More information about the U-Boot mailing list