model_fxx/powernow: add dual core Socket F TDPs

Values based on correlation of brand strings, brand numbers and the TDP
listings on AMD's web site (Wikipedia for Athlon 64 FX-7x TDPs).

Change-Id: I7e6d12d0b6cc4fefc3f84076234c62c40e08304c
Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net>
Reviewed-on: http://review.coreboot.org/10926
Tested-by: build bot (Jenkins)
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
This commit is contained in:
Jonathan A. Kollasch 2015-07-15 14:34:17 -05:00
parent bf6b83abe0
commit 3404625bcc
1 changed files with 6 additions and 1 deletions

View File

@ -106,7 +106,12 @@ static void pstates_algorithm(u32 pcontrol_blk, u8 plen, u8 onlyBSP)
u8 index;
msr_t msr;
u32 fid_multiplier;
static struct power_limit_encoding TDP[20] = {
static const struct power_limit_encoding TDP[] = {
{0x10, 0x1, 0x2, 45}, /* Opteron EE */
{0x10, 0x1, 0x6, 68}, /* Opteron HE */
{0x10, 0x1, 0xa, 95}, /* Opteron */
{0x10, 0x1, 0xc, 119}, /* Opteron SE */
{0x10, 0x1, 0xe, 125}, /* Athlon 64 FX-7x */
{0x11, 0x0, 0x8, 62},
{0x11, 0x1, 0x8, 89},
{0x11, 0x1, 0xa, 103},