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
This commit is contained in:
parent
23f49a82f9
commit
40e42a824b
|
@ -116,7 +116,7 @@ static struct lb_serial *lb_serial(struct lb_header *header)
|
||||||
serial->baud = CONFIG_TTYS0_BAUD;
|
serial->baud = CONFIG_TTYS0_BAUD;
|
||||||
return serial;
|
return serial;
|
||||||
#else
|
#else
|
||||||
return header;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue