diff options
| author | Fabio Estevam <[email protected]> | 2022-09-19 21:20:13 -0300 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2022-10-21 11:54:13 +0200 |
| commit | 330fbafa09b75778880e7821763400a2135cd745 (patch) | |
| tree | 4a52c16298523954622874c79fa7928cf9bd4a7d | |
| parent | 60929b05062507f56bbbfae62872ee38d584340b (diff) | |
imx8mm_evk: Add an entry for USB boot
Add an entry for USB boot so that U-Boot could be loaded via
the Serial Download Protocol.
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
| -rw-r--r-- | board/freescale/imx8mm_evk/spl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/imx8mm_evk/spl.c b/board/freescale/imx8mm_evk/spl.c index e0e97c7fd9a..b5a2faf3a18 100644 --- a/board/freescale/imx8mm_evk/spl.c +++ b/board/freescale/imx8mm_evk/spl.c @@ -33,6 +33,8 @@ DECLARE_GLOBAL_DATA_PTR; int spl_board_boot_device(enum boot_device boot_dev_spl) { switch (boot_dev_spl) { + case USB_BOOT: + return BOOT_DEVICE_BOARD; case SD2_BOOT: case MMC2_BOOT: return BOOT_DEVICE_MMC1; |
