summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@google.com>2011-01-31 21:03:14 +0000
committerStefan Reinauer <stepan@openbios.org>2011-01-31 21:03:14 +0000
commitb82673bd23122cc092a7a6ba32349183bde0f9f5 (patch)
tree018744eef18382f0bbe04411a9c152155a81fe8f
parentff9d78c9641e57996ef016147cb001d8b4956fc4 (diff)
Build failure because of src/pc80/mc146818rtc_early.c unused variable
Fixes #173 Signed-off-by: Stefan Reinauer <reinauer@google.com> Acked-by: Stefan Reinauer <reinauer@google.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6321 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/pc80/mc146818rtc_early.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pc80/mc146818rtc_early.c b/src/pc80/mc146818rtc_early.c
index 455ed08ab9..920dedace2 100644
--- a/src/pc80/mc146818rtc_early.c
+++ b/src/pc80/mc146818rtc_early.c
@@ -61,12 +61,12 @@ static inline int last_boot_normal(void)
static inline int do_normal_boot(void)
{
unsigned char byte;
- int i;
if (cmos_error() || !cmos_chksum_valid()) {
#if CONFIG_USE_CMOS_RECOVERY
char *cmos_default = cbfs_find_file("cmos.default", CBFS_COMPONENT_CMOS_DEFAULT);
if (cmos_default) {
+ int i;
printk_warning("WARNING - CMOS CORRUPTED. RESTORING DEFAULTS.\n");
/* First 14 bytes are reserved for
RTC and ignored by nvramtool, too.