[U-Boot] [PATCH] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it

Faiz Abbas faiz_abbas at ti.com
Thu Feb 8 14:18:06 UTC 2018


Hi Wolfgang,

On Wednesday 07 February 2018 02:22 PM, Wolfgang Denk wrote:
> Dear Faiz Abbas,
> 
> In message <1517564875-10237-1-git-send-email-faiz_abbas at ti.com> you wrote:
>> 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 during .init() of environment.
> 
> Do I understand correctly that you will always initialize the MMC
> sub-system if it is a candidate for reading the environment, even
> when the environment is read from elsewhere?

I didn't realize that U-boot was supporting multiple environment
candidates now. Will try to find another place to initialize mmc.


Thanks,
Faiz


More information about the U-Boot mailing list