[coreboot-gerrit] New patch to review for coreboot: 297bc18 usbdebug: Fix build for ROMCC boards

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Wed Oct 30 14:06:27 CET 2013


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4006

-gerrit

commit 297bc181112a79f7f7c63f964302a9e8b547223d
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Wed Oct 30 15:03:25 2013 +0200

    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 at gmail.com>
---
 src/include/console/console.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/console/console.h b/src/include/console/console.h
index 7a55ae1..4e9b988 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



More information about the coreboot-gerrit mailing list