diff options
author | Adam Ford <aford173@gmail.com> | 2022-10-22 09:28:23 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-11-07 22:45:05 +0100 |
commit | 3a7943a90c1508a0719f3038b6f5f0662ab9167d (patch) | |
tree | 0b8701554121776e2576dbbd7e9e55daab7f2d03 /board | |
parent | b6c8a280905562c3833bb3da994691de60e5fd8d (diff) | |
download | u-boot-3a7943a90c1508a0719f3038b6f5f0662ab9167d.zip u-boot-3a7943a90c1508a0719f3038b6f5f0662ab9167d.tar.gz u-boot-3a7943a90c1508a0719f3038b6f5f0662ab9167d.tar.bz2 |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/beacon/imx8mm/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/beacon/imx8mm/spl.c b/board/beacon/imx8mm/spl.c index b0e9d91..a5f337a 100644 --- a/board/beacon/imx8mm/spl.c +++ b/board/beacon/imx8mm/spl.c @@ -34,6 +34,8 @@ int spl_board_boot_device(enum boot_device boot_dev_spl) case SD3_BOOT: case MMC3_BOOT: return BOOT_DEVICE_MMC2; + case USB_BOOT: + return BOOT_DEVICE_BOARD; default: return BOOT_DEVICE_NONE; } |