This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git] / src / southbridge / intel / i82801xx / cmos_failover.c
index 2ff632548bc6280a3e35277cc37cd594e1da62e4..9307f40305ff1ed9919d7fa992e8cb97832d0f78 100644 (file)
@@ -26,7 +26,7 @@ static void check_cmos_failed(void)
                //clear bit 1 and bit 2
                byte = cmos_read(RTC_BOOT_BYTE);
                byte &= 0x0c;
-               byte |= MAX_REBOOT_CNT << 4;
+               byte |= CONFIG_MAX_REBOOT_CNT << 4;
                cmos_write(byte, RTC_BOOT_BYTE);
        }
 }