u-boot/board/toradex
Stefan Agner 42a4f18255 toradex: configblock: initialize MMC before switching partition
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@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2019-07-19 20:32:24 +02:00
..
apalis_imx6 Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
apalis_t30 board: toradex: turn off lcd backlight before OS handover 2019-02-20 09:01:45 -07:00
apalis-imx8 arm: imx8: don't duplicate build_info() 2019-07-19 20:14:50 +02:00
apalis-tk1 board: toradex: turn off lcd backlight before OS handover 2019-02-20 09:01:45 -07:00
colibri_imx6 Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
colibri_imx7 Convert to use fsl_esdhc_imx for i.MX platforms 2019-06-23 14:18:34 +08:00
colibri_pxa270 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
colibri_t20 board: toradex: turn off lcd backlight before OS handover 2019-02-20 09:01:45 -07:00
colibri_t30 board: toradex: turn off lcd backlight before OS handover 2019-02-20 09:01:45 -07:00
colibri_vf colibri_vf: fix tab vs. spaces 2019-04-25 17:03:25 +02:00
colibri-imx6ull board: toradex: drop support.arm maintainer email 2019-05-05 08:48:50 -04:00
colibri-imx8x arm: imx8: don't duplicate build_info() 2019-07-19 20:14:50 +02:00
common toradex: configblock: initialize MMC before switching partition 2019-07-19 20:32:24 +02:00