From 24d8093676f92b7030349d41e904642d9108e76e Mon Sep 17 00:00:00 2001 From: Ye Li Date: Wed, 10 Oct 2018 23:38:29 -0700 Subject: MLK-19881 imx8mq_arm2: Fix SPL issue to support uuu The codes in imx8mq ARM2 SPL still return back to ROM when booting from usb serial download. This is old way to support mfgtool not uuu. Update the codes to support uuu when SPL SDP is enabled. Signed-off-by: Ye Li (cherry picked from commit ad4444fe64dcfe18da49b8bf4fa2e97100ffd936) --- board/freescale/imx8mq_arm2/spl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/board/freescale/imx8mq_arm2/spl.c b/board/freescale/imx8mq_arm2/spl.c index b183f0de9e..acf35be9a7 100644 --- a/board/freescale/imx8mq_arm2/spl.c +++ b/board/freescale/imx8mq_arm2/spl.c @@ -194,11 +194,16 @@ int power_init_board(void) void spl_board_init(void) { +#ifndef CONFIG_SPL_USB_SDP_SUPPORT /* Serial download mode */ if (is_usb_boot()) { puts("Back to ROM, SDP\n"); restore_boot_params(); } +#endif + + init_usb_clk(); + puts("Normal Boot\n"); } -- cgit v1.2.3