[U-Boot] env_mmc: Allow SPL to use any MMC device to load/save the environment

Tom Rini trini at konsulko.com
Sun Apr 9 01:14:09 UTC 2017


On Wed, Feb 01, 2017 at 11:26:53AM +0100, Jean-Jacques Hiblot wrote:

> SPL has been restricted to use only dev 0 based on the assumption that only
> one MMC device is registered. This is not always the case and many
> platforms now register several devices as expected by the spl mmc boot code
> For those platform SPL_ENV_SUPPORT is broken if dev is forced to 0.
> 
> A word of warning: this commit may break SPL_ENV_SUPPORT on platforms that
> do not register the same MMC controllers in SPL and in u-boot (mostly iMX6
> based platforms). Fortunately none of those activate SPL_ENV_SUPPORT in
> their default configuration.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170408/4dc45fe1/attachment.sig>


More information about the U-Boot mailing list