[U-Boot] [PATCH] dm: mmc: Don't call board_mmc_power_init() with driver model

sjg at google.com sjg at google.com
Thu May 18 16:01:37 UTC 2017


On Sun, Apr 23, 2017 at 4:10 AM, Simon Glass <sjg at chromium.org> wrote:
> We should not call out to board code from drivers. With driver model,
> mmc_power_init() already has code to use a named regulator, but the
> legacy code path remains. Update the code to make this clear.
>

I don't like this patch as it described. (I will answer to your mail
in the other thread later)
Let me check more, possible it's okay to have.

> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/mmc/mmc.c | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)
>
Applied to u-boot-dm


More information about the U-Boot mailing list