diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-29 23:01:35 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-29 23:01:35 +0000 |
commit | 8e726b7363365459ab07b6f68e579b15a3ea8693 (patch) | |
tree | 19a317cad1f08f75e1f3a7284c9e5afbf8bf23d7 /src/include | |
parent | 798ef2893c44ce3194c539c8c5db33d11e8edbac (diff) | |
download | coreboot-8e726b7363365459ab07b6f68e579b15a3ea8693.tar.xz |
Don't include option_table.h every time we include mc146818rtc.h, that was a
stupid idea. Instead include it where it is needed. And add some explicit
dependencies to it.
Also, error for missing IRQ_SLOT_COUNT for now, so we can fix up the boards.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5321 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/pc80/mc146818rtc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h index 4172a4a28a..cd8c8181aa 100644 --- a/src/include/pc80/mc146818rtc.h +++ b/src/include/pc80/mc146818rtc.h @@ -81,10 +81,10 @@ #define PC_CKS_RANGE_END 45 #define PC_CKS_LOC 46 -/* coreboot cmos checksum is usually only built over bytes 49..125 */ -#if CONFIG_HAVE_OPTION_TABLE -#include <option_table.h> -#endif +/* 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 !defined(ASSEMBLY) && !defined(__PRE_RAM__) void rtc_init(int invalid); |