From b94408b650536e763758ab0b3860b7c3ae4e3c78 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Mon, 19 Sep 2022 21:41:17 +0200 Subject: ARM: imx8m: verdin-imx8mm: Drop bogus content from spl_board_init() 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. Upstream-Status: Backport[f687c1ef4fdf14faea16c13b1eaac5496dee39df] Signed-off-by: Marek Vasut Reviewed-by: Peng Fan --- board/toradex/verdin-imx8mm/spl.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/board/toradex/verdin-imx8mm/spl.c b/board/toradex/verdin-imx8mm/spl.c index 067e8621eb..c2e43368a9 100644 --- a/board/toradex/verdin-imx8mm/spl.c +++ b/board/toradex/verdin-imx8mm/spl.c @@ -61,13 +61,6 @@ void spl_board_init(void) if (ret) printf("Failed to initialize %s: %d\n", dev->name, ret); } - - /* 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 -- cgit v1.2.3