Hi Peng,

On 15 March 2016 at 19:32, Peng Fan <van.free...@gmail.com> wrote:
> In device tree, there is vmmc-supply property for SD/MMC.
> Introduce mmc_power_init function and pwrup hook function to let
> the specific drivers handle vmmc-supply.
>
> mmc_power_init will first invoke board_mmc_power_init to
> avoid break boards which already implement board_mmc_power_init.
>
> Then if pwrup hook functions have been implemented for different
> mmc drivers, pwrup will be invoked.
>
> Signed-off-by: Peng Fan <van.free...@gmail.com>
> Cc: Pantelis Antoniou <pa...@antoniou-consulting.com>
> Cc: Andrew Gabbasov <andrew_gabba...@mentor.com>
> Cc: Simon Glass <s...@chromium.org>
> Cc: Stephen Warren <swar...@nvidia.com>
> Cc: Clemens Gruber <clemens.gru...@pqgruber.com>
> Cc: Eric Nelson <e...@nelint.com>
> Cc: Stefano Babic <sba...@denx.de>
> Cc: Fabio Estevam <fabio.este...@nxp.com>
> ---
>  drivers/mmc/mmc.c | 15 ++++++++++++++-
>  include/mmc.h     |  1 +
>  2 files changed, 15 insertions(+), 1 deletion(-)

Acked-by: Simon Glass <s...@chromium.org>

I wonder if there is a way to handle this property generically?

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to