]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: mmc: add support for BOOT_DEVICE_MMC2
authorNikita Kiryanov <nikita@compulab.co.il>
Sun, 8 Nov 2015 15:11:54 +0000 (17:11 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 19:50:05 +0000 (14:50 -0500)
commita1e56cf6d430d78db3a4dc08a422311145e32315
treefbb5d3da1633eda25681e83e0cd6e4ec04fd785f
parent7b9e980e870294ab36f5b0f36abcb034a4955d29
spl: mmc: add support for BOOT_DEVICE_MMC2

Currently the mmc device that SPL looks at is always mmc0, regardless
of the BOOT_DEVICE_MMCx value. This forces some boards to
implement hacks in order to boot from other mmc devices.

Make SPL take into account the correct mmc device.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/sunxi/board.c
common/spl/spl.c
common/spl/spl_mmc.c
include/spl.h