commit | c51614604a1eeb78273c2891a6fe915b27fd0964 | [log] [tgz] |
---|---|---|
author | Andrew F. Davis <afd@ti.com> | Wed Oct 03 10:03:23 2018 -0500 |
committer | Tom Rini <trini@konsulko.com> | Wed Oct 10 13:35:08 2018 -0400 |
tree | 3eac94c6a3a190224c7ac35e0560d4fb08460f3c | |
parent | f515cf0485211f71778cebb9691e671756cb1bc4 [diff] |
arm: K3: am654: Add support for getting boot mode Read the boot mode register to find the boot mode. Only use eMMC boot0 mode when the mode is eMMC boot (called BOOT_DEVICE_MMC1 currently due to current conflating of boot mode and boot device), and not iff the boot device is MMC port 0. Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>