summaryrefslogtreecommitdiff
path: root/board
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-10 23:38:29 -0700
commitad4444fe64dcfe18da49b8bf4fa2e97100ffd936 (patch)
treee8b819992c9e7104d8b0b26951c203c4c13330b7 /board
parent7118899b45b6d4878ab910ef63233b4808220c7b (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>
Diffstat (limited to 'board')
-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 b183f0de9e0..acf35be9a72 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");
}