summaryrefslogtreecommitdiff
path: root/payloads/libpayload/i386/sysinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/i386/sysinfo.c')
-rw-r--r--payloads/libpayload/i386/sysinfo.c4
1 files changed, 4 insertions, 0 deletions
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)