From: sbabic at denx.de Date: Sat, 20 Jul 2019 08:46:45 +0000 (UTC) Subject: [U-Boot] [PATCH v2 1/5] toradex: configblock: initialize MMC before switching partition In-Reply-To: <20190712103509.25083-2-marcel@ziswiler.com> Message-ID: <20190720090220.0D245C21E57@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Stefan Agner > 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 > Acked-by: Max Krummenacher > Signed-off-by: Marcel Ziswiler > Reviewed-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov 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 =====================================================================