From 5ab20054d3c6e637fbcde46a08d2a3c0891bf658 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 28 Aug 2012 16:38:34 -0700 Subject: Update the way serial info is read from the coreboot tables. This information is now stored in a structure instead of in a few seperate fields. libpayload hadn't been updated to reflect the new layout or to consume the new information intelligently. Change-Id: Ice3486ffcdcdbe1f16f9c84515120c591d8dc882 Signed-off-by: Gabe Black Reviewed-on: http://review.coreboot.org/1724 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) --- payloads/libpayload/include/sysinfo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'payloads/libpayload/include') diff --git a/payloads/libpayload/include/sysinfo.h b/payloads/libpayload/include/sysinfo.h index 778dfe9414..cce934f42f 100644 --- a/payloads/libpayload/include/sysinfo.h +++ b/payloads/libpayload/include/sysinfo.h @@ -33,8 +33,11 @@ /* Allow a maximum of 16 memory range definitions. */ #define SYSINFO_MAX_MEM_RANGES 16 +struct cb_serial; + struct sysinfo_t { unsigned int cpu_khz; + struct cb_serial *serial; unsigned short ser_ioport; unsigned long ser_base; // for mmapped serial -- cgit v1.2.3