diff options
author | Marek Vasut <marex@denx.de> | 2024-08-21 23:01:16 +0200 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2024-08-23 14:53:27 -0300 |
commit | 2b9e9588d07da5d08a43d86f263f47934bffe89d (patch) | |
tree | 8b32f85199628c5e7f5de50a735cc1b063a3edad /board | |
parent | d037ef40e9d2c714fe29478ae7ee8f19aeea5d2e (diff) | |
download | u-boot-2b9e9588d07da5d08a43d86f263f47934bffe89d.tar.gz |
ARM: imx: Use USB SDPS as fallback option on Data Modul i.MX8M Plus eDM SBC
The Data Modul i.MX8M Plus eDM SBC does have USB gadget capable port
accessible via USB A-A cable plugged into the bottom USB 3.0 port.
Use USB SDPS as the fallback boot device, so USB SDPS loading can
be performed using e.g. uuu tool.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/data_modul/imx8mp_edm_sbc/spl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/data_modul/imx8mp_edm_sbc/spl.c b/board/data_modul/imx8mp_edm_sbc/spl.c index c1935898533..f81b7274556 100644 --- a/board/data_modul/imx8mp_edm_sbc/spl.c +++ b/board/data_modul/imx8mp_edm_sbc/spl.c @@ -100,7 +100,10 @@ int spl_board_boot_device(enum boot_device boot_dev_spl) if (boot_dev_spl == MMC3_BOOT) /* eMMC */ return BOOT_DEVICE_MMC2; - return BOOT_DEVICE_MMC1; /* SD */ + if (boot_dev_spl == SD2_BOOT) /* SD */ + return BOOT_DEVICE_MMC1; + + return BOOT_DEVICE_BOOTROM; /* USB SDPS */ } void board_boot_order(u32 *spl_boot_list) |