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>
This commit is contained in:
Ye Li 2018-10-10 23:38:29 -07:00
parent 7118899b45
commit ad4444fe64
1 changed files with 5 additions and 0 deletions

View File

@ -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");
}