i82801gx: Add setting for C4onC3 mode
[coreboot.git] / src / southbridge / intel / i82801gx / lpc.c
index ab3c915532fcb560e1a0695c67a68966e3f2c3d3..c6b76d337a003c50440c11a1442b165e8e817cfd 100644 (file)
@@ -243,6 +243,10 @@ static void i82801gx_power_options(device_t dev)
        reg16 |= (1 << 2);      // CLKRUN_EN - Mobile/Ultra only
        reg16 |= (1 << 3);      // Speedstep Enable - Mobile/Ultra only
        reg16 |= (1 << 5);      // CPUSLP_EN Desktop only
+
+       if (config->c4onc3_enable)
+               reg16 |= (1 << 7);
+
        // another laptop wants this?
        // reg16 &= ~(1 << 10); // BIOS_PCI_EXP_EN - Desktop/Mobile only
        reg16 |= (1 << 10);     // BIOS_PCI_EXP_EN - Desktop/Mobile only