enable flash write

This commit is contained in:
Li-Ta Lo 2002-08-01 07:44:08 +00:00
commit 131a050256

View file

@ -140,8 +140,8 @@ void nvram_on()
/* Enable FFF80000 to FFFFFFFF decode. You have to also enable
PCI Posted write for devices on sourthbridge */
pci_write_config_byte(pcidev, 0x40, 0x33);
/* Enable USB device in undocumented Bit 5 */
pci_write_config_byte(pcidev, 0x45, 0x20);
/* Enable flash write in bit 6 and USB device in undocumented Bit 5 */
pci_write_config_byte(pcidev, 0x45, 0x60);
}
/* turn off nvram shadow in 0xc0000 ~ 0xfffff, i.e. accessing segment C - F