]> git.baikalelectronics.ru Git - uboot.git/commit
arm: K3: am654: Choose MMC boot device based on boot port
authorAndrew F. Davis <afd@ti.com>
Wed, 3 Oct 2018 15:03:22 +0000 (10:03 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 10 Oct 2018 17:35:08 +0000 (13:35 -0400)
commit1caed38eb48f8d7efc9511cb8e211ca9cf78eedb
tree1bae02ea62aefc16317b6f617cf41704bca8b450
parent714b06d778aa1c1d923cc8d428838e048e34eb6f
arm: K3: am654: Choose MMC boot device based on boot port

For most devices the boot mode maps directly to the boot
device. For MMC this is not the case as we have two MMC
boot modes and two MMC boot devices (ports). Check the
boot port to determine which MMC device was our boot
device. Make this change for both primary and secondary
boot modes.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/am6_init.c
arch/arm/mach-k3/include/mach/am6_hardware.h