diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-03-17 03:44:45 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-03-17 03:44:45 +0000 |
commit | 2549d52c045d88518f36d48c44ca7d6777e9f17e (patch) | |
tree | df458deacf28ae702b06f6534916f7e175766310 /src/arch/i386/boot | |
parent | 5c32d242e475bcc40a92538efc4ac0fa9d21c7af (diff) | |
download | coreboot-2549d52c045d88518f36d48c44ca7d6777e9f17e.tar.xz |
fix minor warnings in RTC code when HAVE_OPTION_TABLE is disabled.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5246 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/boot')
-rw-r--r-- | src/arch/i386/boot/coreboot_table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/boot/coreboot_table.c b/src/arch/i386/boot/coreboot_table.c index d956b127a9..6a45e4bac5 100644 --- a/src/arch/i386/boot/coreboot_table.c +++ b/src/arch/i386/boot/coreboot_table.c @@ -185,6 +185,7 @@ static struct lb_mainboard *lb_mainboard(struct lb_header *header) return mainboard; } +#if (CONFIG_HAVE_OPTION_TABLE == 1) static struct cmos_checksum *lb_cmos_checksum(struct lb_header *header) { struct lb_record *rec; @@ -202,6 +203,7 @@ static struct cmos_checksum *lb_cmos_checksum(struct lb_header *header) return cmos_checksum; } +#endif static void lb_strings(struct lb_header *header) { |