am335x_evm: Rework bootcmd to handle two MMC devs
authorJustin Waters <justin.waters@timesys.com>
Thu, 11 Jul 2013 13:55:00 +0000 (09:55 -0400)
committerTom Rini <trini@ti.com>
Tue, 30 Jul 2013 13:21:42 +0000 (09:21 -0400)
commita3aa70afb72b147a21f0e39d72ceb3f253d58498
tree13091ffc530a1c7d61ac02db66195445f3f0d865
parent2c7c03bed1a1cb6e85eeb07c6495ac3cd2e97702
am335x_evm: Rework bootcmd to handle two MMC devs

The BeagleBone Black can boot from either the MMC card
or eMMC chip on board. We should try both interfaces.

This modification also allows a graceful fallback if
a device exists but boot images are not present on it.

Changes for v2:

* Fix boot partition - it should always show up as mmcblk0p2
* Fix missing FDT load

Signed-off-by: Justin Waters <justin.waters@timesys.com>
include/configs/am335x_evm.h