Move option table (cmos.layout's binary representation)
[coreboot.git] / src / pc80 / mc146818rtc_early.c
index bb81ca7b657d4f1d0db70c60a0b379f07fc76e75..455ed08ab9aa17624d89c72e6715ccb2ba9414fe 100644 (file)
@@ -65,7 +65,7 @@ static inline int do_normal_boot(void)
 
        if (cmos_error() || !cmos_chksum_valid()) {
 #if CONFIG_USE_CMOS_RECOVERY
-               char *cmos_default = cbfs_find_file("cmos.default", 0xaa);
+               char *cmos_default = cbfs_find_file("cmos.default", CBFS_COMPONENT_CMOS_DEFAULT);
                if (cmos_default) {
                        printk_warning("WARNING - CMOS CORRUPTED. RESTORING DEFAULTS.\n");
                        /* First 14 bytes are reserved for