[coreboot] r3298 - trunk/payloads/libpayload/i386

svn at coreboot.org svn at coreboot.org
Sun May 11 18:13:25 CEST 2008


Author: uwe
Date: 2008-05-11 18:13:24 +0200 (Sun, 11 May 2008)
New Revision: 3298

Modified:
   trunk/payloads/libpayload/i386/sysinfo.c
Log:
Fix the build when serial console support is disabled (trivial).

Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>



Modified: trunk/payloads/libpayload/i386/sysinfo.c
===================================================================
--- trunk/payloads/libpayload/i386/sysinfo.c	2008-05-11 15:51:31 UTC (rev 3297)
+++ trunk/payloads/libpayload/i386/sysinfo.c	2008-05-11 16:13:24 UTC (rev 3298)
@@ -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)





More information about the coreboot mailing list