summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-09-02 18:29:31 +0000
committerMyles Watson <mylesgw@gmail.com>2010-09-02 18:29:31 +0000
commite448eba75942df3eefbd877b37b63f82c4faf440 (patch)
treedc99d6827489e26cd7b8246bca4a804c7a992ce4 /src/include
parent70679a095a9f9dde910d5944688f80d2ee4db6b4 (diff)
Revert 5762. It silently broke a lot of boards because abuild was broken.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5764 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pc80/mc146818rtc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index 032e3858bf..0abb2a6b4b 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -81,6 +81,14 @@
#define PC_CKS_RANGE_END 45
#define PC_CKS_LOC 46
+/* coreboot cmos checksum is usually only built over bytes 49..125
+ * LB_CKS_RANGE_START, LB_CKS_RANGE_END and LB_CKS_LOC are defined
+ * in option_table.h
+ */
+#if CONFIG_HAVE_OPTION_TABLE
+#include <option_table.h>
+#endif
+
#ifndef UTIL_BUILD_OPTION_TABLE
#include <arch/io.h>
static inline unsigned char cmos_read(unsigned char addr)