]> git.ipfire.org Git - people/ms/u-boot.git/commit
armv7: omap-common: Rework SPL board_mmc_init()
authorTom Rini <trini@konsulko.com>
Mon, 14 Dec 2015 16:08:38 +0000 (11:08 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 14 Dec 2015 18:42:54 +0000 (13:42 -0500)
commit312db9f75f50b339310474d72c8524cef2bd7931
treee7cb0fdfe08762837247530b20305cdc0b561bf0
parent5915517b7bca560183d11c2260f01f3a93dd01b9
armv7: omap-common: Rework SPL board_mmc_init()

Since the changes in a1e56cf the way that we had board_mmc_init()
structured for OMAP parts (so that we always report device 0) are no
longer functional.  For now, make the case of booting from the second
device initialize both devices (we have no devices that only have the
second device as MMC).  A further rework and consolidation of the
functions should be done at a later date.

Tested on Beaglebone Black (SD and eMMC boot).

Reported-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/boot-common.c