]> git.sur5r.net Git - u-boot/commit
env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 12 Feb 2018 13:54:31 +0000 (19:24 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 20 Feb 2018 13:21:30 +0000 (08:21 -0500)
commit26862b4a40c31b59618f7776ca06f0ed453cc380
treecfae2a18a52f6b549972724f07cf27b5ef1dc13a
parent7b1cfec31764cd9247ee3cdaf5b7caa804741344
env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

When booting from a non-MMC device, the MMC sub-system may not be
initialized when the environment is first accessed.
We need to make sure that the MMC sub-system is ready in even a non-MMC
boot case.

Therefore, initialize mmc before loading environment from it.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
env/ext4.c
env/fat.c
env/mmc.c