summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-10-30 15:03:25 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2013-11-05 16:50:15 +0100
commitb0aec8f070053284a750f07d0fe6f1b37bac83d1 (patch)
tree21b7b72f3856d2dd7725a44837cc8eeb6f5a8375 /src
parent6583a8108ca2cbcb2f363d50bd234e60bc3f4f3e (diff)
downloadcoreboot-b0aec8f070053284a750f07d0fe6f1b37bac83d1.tar.xz
usbdebug: Fix build for ROMCC boards
Header file is not compatible with romcc, just drop it as a romstage built with romcc cannot use usbdebug anyway. Change-Id: If7f8f22d6a8fa1f02157df281f82f02b72b6a609 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4006 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/console/console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h
index 7a55ae1c1b..4e9b988aba 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -27,7 +27,7 @@
#if CONFIG_CONSOLE_SERIAL
#include <uart.h>
#endif
-#if CONFIG_USBDEBUG
+#if CONFIG_USBDEBUG && !defined(__ROMCC__)
#include <usbdebug.h>
#endif
#if CONFIG_CONSOLE_NE2K