[U-Boot] [PATCH v2 1/5] toradex: configblock: initialize MMC before switching partition

sbabic at denx.de sbabic at denx.de
Sat Jul 20 08:46:45 UTC 2019


> From: Stefan Agner <stefan.agner at toradex.com>
> If the module is in serial downloader mode, we do no longer read the
> environment from eMMC. Therefor, the eMMC is unitialized when trying
> to read the config block. Use mmc_init to initialize the selected
> MMC device before using it.
> Note: In case the MMC has already been initialized, the mmc_init
> detects that and returns immediately.
> Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
> Acked-by: Max Krummenacher <max.krummenacher at toradex.com>
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Reviewed-by: Igor Opaniuk <igor.opaniuk at toradex.com>
> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov at toradex.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================



More information about the U-Boot mailing list