Move C labels to start-of-line
[coreboot.git] / src / northbridge / intel / i945 / raminit.c
index a7fbaa44398a1645e06ec32cf8d4af1097760e49..a4512d7ba80743c5d5561fb4d5cffe955399b513 100644 (file)
@@ -294,8 +294,8 @@ static void sdram_detect_errors(struct sys_info *sysinfo)
        reg8 |= (1<<7);
        pci_write_config8(PCI_DEV(0, 0x1f, 0), 0xa2, reg8);
 
-       /* clear self refresh if not wake-up from suspend */
-       if (sysinfo->boot_path != 2) {
+       /* clear self refresh status if check is disabled or not a resume */
+       if (!CONFIG_CHECK_SLFRCS_ON_RESUME || sysinfo->boot_path != 2) {
                MCHBAR8(0xf14) |= 3;
        } else {
                /* Validate self refresh config */
@@ -1478,7 +1478,7 @@ static struct dimm_size sdram_get_dimm_size(struct sys_info *sysinfo, u16 dimmno
         */
        sz.side1 = 0;
        sz.side2 = 0;
- out:
+out:
        return sz;
 }