make older winbond chips work reliably.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2227 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -122,6 +122,12 @@ static void acpi_init(struct device *dev)
|
|||||||
pci_write_config8(dev, PREVIOUS_POWER_STATE, byte);
|
pci_write_config8(dev, PREVIOUS_POWER_STATE, byte);
|
||||||
printk_info("set power %s after power fail\n", on?"on":"off");
|
printk_info("set power %s after power fail\n", on?"on":"off");
|
||||||
|
|
||||||
|
/* switch serial irq logic from quiet mode to continuous
|
||||||
|
* mode for Winbond W83627HF Rev. 17
|
||||||
|
*/
|
||||||
|
byte = pci_read_config8(dev, 0x4a);
|
||||||
|
pci_write_config8(dev, 0x4a, byte | (1<<6));
|
||||||
|
|
||||||
/* Throttle the CPU speed down for testing */
|
/* Throttle the CPU speed down for testing */
|
||||||
on = SLOW_CPU_OFF;
|
on = SLOW_CPU_OFF;
|
||||||
get_option(&on, "slow_cpu");
|
get_option(&on, "slow_cpu");
|
||||||
|
Reference in New Issue
Block a user