diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2009-04-13 18:34:35 +0000 |
---|---|---|
committer | Rudolf Marek <r.marek@assembler.cz> | 2009-04-13 18:34:35 +0000 |
commit | 15bf50d8203af20b3079e6691bf0d9eee66ea1bd (patch) | |
tree | 93e1ebdfcf792914356209a2bb3b17641133ed81 /src/cpu/amd/model_fxx/fidvid.c | |
parent | 33cafe5bfb440d150e36872d091037fa0785863d (diff) | |
download | coreboot-15bf50d8203af20b3079e6691bf0d9eee66ea1bd.tar.xz |
Following patch adds resume (exit from self refresh) support for AMD K8 revF
CPUs. It handles both type of erratas on those CPUs.
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4102 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_fxx/fidvid.c')
-rw-r--r-- | src/cpu/amd/model_fxx/fidvid.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/amd/model_fxx/fidvid.c b/src/cpu/amd/model_fxx/fidvid.c index 2ed47dff3a..f0f7b7fdd2 100644 --- a/src/cpu/amd/model_fxx/fidvid.c +++ b/src/cpu/amd/model_fxx/fidvid.c @@ -73,7 +73,11 @@ static void enable_fid_change(void) // dword = 0x00070000; /* enable FID/VID change */ pci_write_config32(PCI_DEV(0, 0x18+i, 3), 0x80, dword); +#if HAVE_ACPI_RESUME + dword = 0x21132113; +#else dword = 0x00132113; +#endif pci_write_config32(PCI_DEV(0, 0x18+i, 3), 0x84, dword); } |