diff options
author | Marcin Niestroj <m.niestroj@grinn-global.com> | 2016-10-21 13:53:54 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-11-29 16:31:53 +0100 |
commit | 54e4fcfa3c749a789192e83740a53234182f4ca3 (patch) | |
tree | b0125b41cc0f431f9eb21e484e8392e3ca51421c /common/spl/spl_sata.c | |
parent | 2d221489df021393654805536be7effcb9d39702 (diff) | |
download | u-boot-imx-54e4fcfa3c749a789192e83740a53234182f4ca3.zip u-boot-imx-54e4fcfa3c749a789192e83740a53234182f4ca3.tar.gz u-boot-imx-54e4fcfa3c749a789192e83740a53234182f4ca3.tar.bz2 |
ARM: mx6: add MMC2 boot device detection support in SPL
Check BOOT_CFG2[3:4] to determine which SD/MMC port is selected to boot
from. If MMC2 is selected return BOOT_DEVICE_MMC2. In all other cases
return BOOT_DEVICE_MMC1, as we do not have corresponding macro for MMC3
and MMC4.
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Diffstat (limited to 'common/spl/spl_sata.c')
0 files changed, 0 insertions, 0 deletions