imx: imx8mm-beacon: Enable USB booting via SDP
authorAdam Ford <aford173@gmail.com>
Sat, 22 Oct 2022 14:28:23 +0000 (09:28 -0500)
committerStefano Babic <sbabic@denx.de>
Mon, 7 Nov 2022 21:45:05 +0000 (22:45 +0100)
commit3a7943a90c1508a0719f3038b6f5f0662ab9167d
tree0b8701554121776e2576dbbd7e9e55daab7f2d03
parentb6c8a280905562c3833bb3da994691de60e5fd8d
imx: imx8mm-beacon: Enable USB booting via SDP

In order to boot over USB, the device tree needs to enable
a few extra nodes in SPL.  Since the USB driver has the
ability to detect host/device, the dr_mode can be removed
from the device tree since it needs to act as a device when
booting and OTG is the default mode.  Add USB boot support
to spl_board_boot_device and enable the corresponding config
options.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
board/beacon/imx8mm/spl.c
configs/imx8mm_beacon_defconfig