Author: stepan Date: Mon Jan 31 22:03:14 2011 New Revision: 6321 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6321
Log: 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
Modified: trunk/src/pc80/mc146818rtc_early.c
Modified: trunk/src/pc80/mc146818rtc_early.c ============================================================================== --- trunk/src/pc80/mc146818rtc_early.c Sun Jan 30 17:37:39 2011 (r6320) +++ trunk/src/pc80/mc146818rtc_early.c Mon Jan 31 22:03:14 2011 (r6321) @@ -61,12 +61,12 @@ 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.