]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: imx8m: verdin-imx8mm: Drop bogus content from spl_board_init()
authorMarek Vasut <marex@denx.de>
Mon, 19 Sep 2022 19:41:17 +0000 (21:41 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 21 Oct 2022 09:54:12 +0000 (11:54 +0200)
The current implementation of spl_board_init() USB boot handling is
not correct, the MX8MM BootROM v1 does not support SDP load when
re-entered from U-Boot SPL, it is up to U-Boot to perform the next
stage load using its own internal CI gadget driver and SDP protocol
implementation. Drop the spl_board_init() to let SPL continue with
normal load in case the SDP support is enabled.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/toradex/verdin-imx8mm/spl.c

index 59a3d9e0caee37eacdb72b55e022c1f84fa163c5..210665bd6a9a75a8c4fd78301896654df9828cd0 100644 (file)
@@ -54,13 +54,6 @@ void spl_dram_init(void)
 void spl_board_init(void)
 {
        arch_misc_init();
-
-       /* Serial download mode */
-       if (is_usb_boot()) {
-               puts("Back to ROM, SDP\n");
-               restore_boot_params();
-       }
-       puts("Normal Boot\n");
 }
 
 #ifdef CONFIG_SPL_LOAD_FIT