summaryrefslogtreecommitdiff
path: root/board/toradex
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2022-08-22 15:06:02 +0200
committerStefano Babic <sbabic@denx.de>2022-09-18 22:56:10 +0200
commitcc34e9cb0cf3ac6ad66abb56167329ae8f355999 (patch)
tree59285e167d601adca49f47560be4e91e8e4bba00 /board/toradex
parent1e2135356cbdc6609c0b1cffeace898832175efc (diff)
downloadu-boot-cc34e9cb0cf3ac6ad66abb56167329ae8f355999.tar.gz
u-boot-cc34e9cb0cf3ac6ad66abb56167329ae8f355999.tar.bz2
u-boot-cc34e9cb0cf3ac6ad66abb56167329ae8f355999.zip
verdin-imx8mm: improve and extend boot devices
- Annotate boot devices available in spl_board_boot_device(). - Drop SD3_BOOT/MMC3_BOOT not available for boot on Verdin iMX8M Mini. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'board/toradex')
-rw-r--r--board/toradex/verdin-imx8mm/spl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/board/toradex/verdin-imx8mm/spl.c b/board/toradex/verdin-imx8mm/spl.c
index 685ac94f4c..fb9aae6c9c 100644
--- a/board/toradex/verdin-imx8mm/spl.c
+++ b/board/toradex/verdin-imx8mm/spl.c
@@ -34,14 +34,11 @@ DECLARE_GLOBAL_DATA_PTR;
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
switch (boot_dev_spl) {
- case MMC1_BOOT:
+ case MMC1_BOOT: /* eMMC */
return BOOT_DEVICE_MMC1;
- case SD2_BOOT:
+ case SD2_BOOT: /* SD card */
case MMC2_BOOT:
return BOOT_DEVICE_MMC2;
- case SD3_BOOT:
- case MMC3_BOOT:
- return BOOT_DEVICE_MMC1;
case USB_BOOT:
return BOOT_DEVICE_BOARD;
default:
@@ -83,7 +80,6 @@ int board_fit_config_name_match(const char *name)
}
#endif
-
__weak void board_early_init(void)
{
init_uart_clk(0);