The DBM90T code sets bit 10 in _PSS as part of the control value, but
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Fri, 16 Jan 2009 12:44:41 +0000 (12:44 +0000)
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Fri, 16 Jan 2009 12:44:41 +0000 (12:44 +0000)
commitd8aaeaa143b5da8ddaac709bcf34a2cd26508bdd
treed21f7396638b27effc1df1f89d52362e90548bbf
parent734d09e05b54d75a190685345fa81a2de0560d78
The DBM90T code sets bit 10 in _PSS as part of the control value, but
bit 10 is part of NewVID. That means the resulting VID is wrong and
causes the processor to crash.
The Pistachio code has the same bug.

This patch fixes the wrong setting and changes control from a magic and
incorrect unexplained value (0xE8202C00) to a combination of explained
values and shifts which has the right value (0xE8202800).

It is tested on my machine and it survived 200 changes from minimum to
maximum frequency every 100 ms under heavy load and under no load.

In the long term we want to consolidate all AMD FIDVID code into one
generic library file.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Maggie Li has tested it on her DBM690T board. It is ok.
Acked-by: Maggie li <Maggie.li@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3868 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
src/mainboard/amd/dbm690t/acpi_tables.c
src/mainboard/amd/pistachio/acpi_tables.c