Skip to content
Snippets Groups Projects
Commit faa78acd authored by Troy Kisky's avatar Troy Kisky
Browse files

bio: don't return to ROM if CONFIG_SPL_USB_SDP_SUPPORT defined

parent b4483e4a
No related branches found
No related tags found
No related merge requests found
...@@ -181,11 +181,13 @@ void spl_board_init(void) ...@@ -181,11 +181,13 @@ void spl_board_init(void)
/* DDR initialization */ /* DDR initialization */
spl_dram_init(); spl_dram_init();
#ifndef CONFIG_SPL_USB_SDP_SUPPORT
/* Serial download mode */ /* Serial download mode */
if (is_usb_boot()) { if (is_usb_boot()) {
puts("Back to ROM, SDP\n"); puts("Back to ROM, SDP\n");
restore_boot_params(); restore_boot_params();
} }
#endif
puts("Normal Boot\n"); puts("Normal Boot\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment