summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2011-04-14 21:05:41 +0000
committerStefan Reinauer <stepan@openbios.org>2011-04-14 21:05:41 +0000
commit40e42a824b2800ed90614f3a5d3e5edf7cb877ff (patch)
tree98e63491f27165bf35633fb4787fa96b51eaddbe
parent23f49a82f9b6fca33c423aca8c779f1211847593 (diff)
downloadcoreboot-40e42a824b2800ed90614f3a5d3e5edf7cb877ff.tar.xz
fix coreboot compilation without serial console enabled.
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
-rw-r--r--src/arch/x86/boot/coreboot_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/boot/coreboot_table.c b/src/arch/x86/boot/coreboot_table.c
index 49cdb29356..8e7c75eaa1 100644
--- a/src/arch/x86/boot/coreboot_table.c
+++ b/src/arch/x86/boot/coreboot_table.c
@@ -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
}