Fix the build when serial console support is disabled (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3298 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
134aaaec50
commit
d0e687ac39
|
@ -35,7 +35,11 @@
|
|||
*/
|
||||
struct sysinfo_t lib_sysinfo = {
|
||||
.cpu_khz = 200,
|
||||
#ifdef CONFIG_SERIAL_CONSOLE
|
||||
.ser_ioport = CONFIG_SERIAL_IOBASE,
|
||||
#else
|
||||
.ser_ioport = 0x3f8,
|
||||
#endif
|
||||
};
|
||||
|
||||
void lib_get_sysinfo(void)
|
||||
|
|
Loading…
Reference in New Issue