From d0e687ac390dc56265b465eb2338c3f73822cd7c Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 11 May 2008 16:13:24 +0000 Subject: Fix the build when serial console support is disabled (trivial). Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3298 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/i386/sysinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'payloads/libpayload') diff --git a/payloads/libpayload/i386/sysinfo.c b/payloads/libpayload/i386/sysinfo.c index 7b1f785219..686b28ffc6 100644 --- a/payloads/libpayload/i386/sysinfo.c +++ b/payloads/libpayload/i386/sysinfo.c @@ -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) -- cgit v1.2.3