diff options
| author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2026-08-11 11:34:19 +0200 |
|---|---|---|
| committer | Fabio Estevam <festevam@gmail.com> | 2026-08-14 16:19:51 -0300 |
| commit | 768053b2922cf8b413ca9ada6677f22bc62c215c (patch) | |
| tree | 7e1a33cdff6626e9da29e0b4fb310229f043f8ea | |
| parent | 834b6bc0aee8e1e04d67a0852867358a6f6b7bcd (diff) | |
| download | u-boot-768053b2922cf8b413ca9ada6677f22bc62c215c.tar.gz u-boot-768053b2922cf8b413ca9ada6677f22bc62c215c.zip | |
board: imx6dl-sielaff: Remove board_boot_order() workaround
Now that the fallback to SPI NOR as boot device can be properly
detected, remove the workaround.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
| -rw-r--r-- | board/sielaff/imx6dl-sielaff/spl.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/board/sielaff/imx6dl-sielaff/spl.c b/board/sielaff/imx6dl-sielaff/spl.c index 6815952c0fb..ae36ff5712c 100644 --- a/board/sielaff/imx6dl-sielaff/spl.c +++ b/board/sielaff/imx6dl-sielaff/spl.c @@ -249,25 +249,3 @@ void board_init_f(ulong dummy) /* load/boot image from boot device */ board_init_r(NULL, 0); } - -void board_boot_order(u32 *spl_boot_list) -{ - u32 bootdev = spl_boot_device(); - - /* - * The default boot fuse settings use the SD card (MMC1) as primary - * boot device, but allow SPI NOR as a fallback boot device. - * We can't detect the fallback case and spl_boot_device() will return - * BOOT_DEVICE_MMC1 despite the actual boot device being SPI NOR. - * Therefore we try to load U-Boot proper vom SPI NOR after loading - * from MMC has failed. - */ - spl_boot_list[0] = bootdev; - - switch (bootdev) { - case BOOT_DEVICE_MMC1: - case BOOT_DEVICE_MMC2: - spl_boot_list[1] = BOOT_DEVICE_SPI; - break; - } -} |
