aboutsummaryrefslogtreecommitdiff
path: root/src/console/console.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-09-10 13:50:32 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2013-09-21 06:22:33 +0200
commita2f6af3330a754de2f8c4438812e09fc81ad181c (patch)
treeb8c7dbb467d7a7cd45a5fb3de8c970b93d931ed9 /src/console/console.c
parent52a27223892936cdc8e1744516a82a2e44584763 (diff)
ROMCC boards: Fix builds with CBMEM console, timestamps or usbdebug
These features depend on CAR_GLOBAL region, which is not available when romstage is built with ROMCC. Exclude these from romstage, keep them available for ramstage. A follow-up patch will fix the dependencies and allows enabling these features in menuconfig. Change-Id: I9de5ad41ea733655a3fbdc734646f818e39cc471 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/3919 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/console/console.c')
-rw-r--r--src/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/console.c b/src/console/console.c
index b2b06b37f9..06a460428b 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -119,7 +119,7 @@ void console_init(void)
#if CONFIG_SPKMODEM
spkmodem_init();
#endif
-#if CONFIG_USBDEBUG
+#if CONFIG_USBDEBUG && !defined(__BOOT_BLOCK__)
usbdebug_init();
#endif