diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-02-01 10:26:53 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-08 13:26:44 (GMT) |
commit | 687d2073741bf9518247cb3ffb289f428fba2413 (patch) | |
tree | 6135ddaba8e7cd2aeeb1b197aaa50c841f7d0aa5 /common/command.c | |
parent | 01abae4d04868dede60947867699bf096a1831ff (diff) | |
download | u-boot-fsl-qoriq-687d2073741bf9518247cb3ffb289f428fba2413.tar.xz |
env_mmc: Allow SPL to use any MMC device to load/save the environment
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@ti.com>
Diffstat (limited to 'common/command.c')
0 files changed, 0 insertions, 0 deletions