diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/amd/model_fxx/fidvid.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cpu/amd/model_fxx/fidvid.c b/src/cpu/amd/model_fxx/fidvid.c index 6395a1e1c6..06ff636659 100644 --- a/src/cpu/amd/model_fxx/fidvid.c +++ b/src/cpu/amd/model_fxx/fidvid.c @@ -45,10 +45,19 @@ static void enable_fid_change(void) pci_write_config32(PCI_DEV(0, 0x18 + i, 3), 0xd4, dword); /* disable the DRAM interface at first, it will be enabled - * by raminit again */ + * by raminit again (see also erratum #181) */ +#if CONFIG_K8_REV_F_SUPPORT dword = pci_read_config32(PCI_DEV(0, 0x18 + i, 2), 0x94); dword |= (1 << 14); pci_write_config32(PCI_DEV(0, 0x18 + i, 2), 0x94, dword); +#else + dword = pci_read_config32(PCI_DEV(0, 0x18 + i, 2), 0x90); + dword |= (1 << 24); + pci_write_config32(PCI_DEV(0, 0x18 + i, 2), 0x90, dword); + dword = pci_read_config32(PCI_DEV(0, 0x18 + i, 2), 0x94); + dword |= (1 << 25); + pci_write_config32(PCI_DEV(0, 0x18 + i, 2), 0x94, dword); +#endif dword = 0x23070700; /* enable FID/VID change */ // dword = 0x00070000; /* enable FID/VID change */ |