Author: stepan
Date: Thu Apr 14 23:05:41 2011
New Revision: 6500
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6500

Log:
fix coreboot compilation without serial console enabled.

Signed-off-by: Stefan Reinauer <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>

Modified:
   trunk/src/arch/x86/boot/coreboot_table.c

Modified: trunk/src/arch/x86/boot/coreboot_table.c
==============================================================================
--- trunk/src/arch/x86/boot/coreboot_table.c    Thu Apr 14 22:39:49 2011        
(r6499)
+++ trunk/src/arch/x86/boot/coreboot_table.c    Thu Apr 14 23:05:41 2011        
(r6500)
@@ -116,7 +116,7 @@
        serial->baud = CONFIG_TTYS0_BAUD;
        return serial;
 #else
-       return header;
+       return NULL;
 #endif
 }
 

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to