From faa78acd834bddf44091b753d1c8fe1c3c6e7551 Mon Sep 17 00:00:00 2001
From: Troy Kisky <troy.kisky@boundarydevices.com>
Date: Fri, 16 Aug 2019 13:55:53 -0700
Subject: [PATCH] bio: don't return to ROM if CONFIG_SPL_USB_SDP_SUPPORT
 defined

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
---
 board/boundary/bio/spl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/boundary/bio/spl.c b/board/boundary/bio/spl.c
index 309c3dda939..914d318a532 100644
--- a/board/boundary/bio/spl.c
+++ b/board/boundary/bio/spl.c
@@ -181,11 +181,13 @@ void spl_board_init(void)
 	/* DDR initialization */
 	spl_dram_init();
 
+#ifndef CONFIG_SPL_USB_SDP_SUPPORT
 	/* Serial download mode */
 	if (is_usb_boot()) {
 		puts("Back to ROM, SDP\n");
 		restore_boot_params();
 	}
+#endif
 	puts("Normal Boot\n");
 }
 
-- 
GitLab