Re-enable serial console in uloader for UART boot
Re-enable serial console if CONFIG_COMCERTO_ULOADER_UART_DOWNLOAD is
set.
Change-Id: I233e2c6501efc765605cabf243ae6f1189f2d7ce
diff --git a/common/console.c b/common/console.c
index e3010b8..dcd271b 100644
--- a/common/console.c
+++ b/common/console.c
@@ -194,7 +194,7 @@
{
struct console_device *cdev;
-#ifndef CONFIG_DEVELOPER_BAREBOX
+#if !defined(CONFIG_DEVELOPER_BAREBOX) && !defined(CONFIG_COMCERTO_ULOADER_UART_DOWNLOAD)
if (get_secure_boot_mode() == SECURE)
return 0;
#endif
@@ -214,7 +214,7 @@
unsigned char ch;
uint64_t start;
-#ifndef CONFIG_DEVELOPER_BAREBOX
+#if !defined(CONFIG_DEVELOPER_BAREBOX) && !defined(CONFIG_COMCERTO_ULOADER_UART_DOWNLOAD)
if (get_secure_boot_mode() == SECURE)
return 0;
#endif