summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-10-10 23:38:29 -0700
committerYe Li <ye.li@nxp.com>2018-10-11 00:07:35 -0700
commit24d8093676f92b7030349d41e904642d9108e76e (patch)
treee8b819992c9e7104d8b0b26951c203c4c13330b7
parenta952da79aa0170bc87a450762f8014a5968c062c (diff)
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 <ye.li@nxp.com> (cherry picked from commit ad4444fe64dcfe18da49b8bf4fa2e97100ffd936)
-rw-r--r--board/freescale/imx8mq_arm2/spl.c5
1 files changed, 5 insertions, 0 deletions
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");
}