board: ti: am64x: Add support for fixing dr_mode while booting from USB
authorAswath Govindraju <a-govindraju@ti.com>
Wed, 4 Aug 2021 13:12:44 +0000 (18:42 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 11 Sep 2021 00:10:20 +0000 (20:10 -0400)
commit3d16b33533801be14d0d7b8041aee0a9832bc8eb
treef35e9f29515f3e39cec7e68f251df0ba5f95ad46
parent11e2ab3f0bc8d339c66a4bab26216278c3c20553
board: ti: am64x: Add support for fixing dr_mode while booting from USB

Fix the dr_mode in the U-Boot device tree blob, by reading the mode field
from the USB Boot Configuration fields. The dr_mode will only be fixed when
booting from USB.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
board/ti/am64x/evm.c