fix coreboot compilation without serial console enabled.
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 14 Apr 2011 21:05:41 +0000 (21:05 +0000)
committerStefan Reinauer <stepan@openbios.org>
Thu, 14 Apr 2011 21:05:41 +0000 (21:05 +0000)
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6500 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/arch/x86/boot/coreboot_table.c

index 49cdb29356fa91efe1fd9f2e9f98f93b002ae807..8e7c75eaa12d111d819edec7058c5cfdaf3b9957 100644 (file)
@@ -116,7 +116,7 @@ static struct lb_serial *lb_serial(struct lb_header *header)
        serial->baud = CONFIG_TTYS0_BAUD;
        return serial;
 #else
-       return header;
+       return NULL;
 #endif
 }