aboutsummaryrefslogtreecommitdiff
path: root/common/bootm_os.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2018-10-03 10:03:23 -0500
committerTom Rini <trini@konsulko.com>2018-10-10 13:35:08 -0400
commit81089a54300df5fa5b4a22e3bf4df6b521438f68 (patch)
tree3eac94c6a3a190224c7ac35e0560d4fb08460f3c /common/bootm_os.c
parentb5700efbc863669bc4e11283917aa9965c5fc8e8 (diff)
downloadu-boot-81089a54300df5fa5b4a22e3bf4df6b521438f68.zip
u-boot-81089a54300df5fa5b4a22e3bf4df6b521438f68.tar.gz
u-boot-81089a54300df5fa5b4a22e3bf4df6b521438f68.tar.bz2
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>
Diffstat (limited to 'common/bootm_os.c')
0 files changed, 0 insertions, 0 deletions