[U-Boot] [PATCH 2/2] mmc: bring back partition init for non-DM MMC drivers

Simon Glass sjg at chromium.org
Sat Jan 5 01:56:51 UTC 2019


kOn Mon, 17 Dec 2018 at 03:07, Andre Przywara <andre.przywara at arm.com> wrote:
>
> Commit d0851c893706 ("blk: Call part_init() in the post_probe() method")
> removed the call to part_init() in mmc.c, as this is done by the DM_MMC
> framework.
> However Allwinner is (still) relying on a non-DM MMC driver, so we are
> now missing the implicit partition init, leading to failing MMC accesses
> due to the missing partition information.
>
> Bring the call back just for non-DM MMC driver to fix this regression.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> ---
>  drivers/mmc/mmc.c | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list