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:
Uwe Hermann 2008-05-11 16:13:24 +00:00
parent 134aaaec50
commit d0e687ac39
1 changed files with 4 additions and 0 deletions

View File

@ -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)