ARM: at91: ma5d4: Boot from MMC2 when using SAM-BA
authorMarek Vasut <marex@denx.de>
Tue, 2 May 2017 18:27:47 +0000 (20:27 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 29 Jun 2017 17:30:51 +0000 (13:30 -0400)
commit8997de292a8b0bb54d4a9a93d5d9d2387c22a8b8
tree3c69d748303c2889699b84094e9473ee01b0f4bf
parent4e843834abaab57bcba45a4ff6d1796b5e3e9d97
ARM: at91: ma5d4: Boot from MMC2 when using SAM-BA

Continue loading U-Boot from MMC2 when the SPL was loaded using SAM-BA
loader. This allows the board to boot system from the removable media
instead of the eMMC, which is useful for commissioning purposes. When
booting from the eMMC, always boot from it as it is not possible to
boot from the SD interface directly.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
board/aries/ma5d4evk/ma5d4evk.c