From 99fd2a3b3ac587498b551c2c6e5d6d20f646e65b Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Thu, 14 May 2009 23:42:41 +0000 Subject: Update equivalent processor revision ID to load latest microcode patches and register setting for all FAM10 processors. This does not include new errata for FAM10 C2. Signed-off-by: Marc Jones Acked-by: Vincent Lim (vincent.lim@amd.com) git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4288 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdfam10/raminit_amdmct.c | 3 +++ src/northbridge/amd/amdmct/amddefs.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/amdfam10/raminit_amdmct.c b/src/northbridge/amd/amdfam10/raminit_amdmct.c index 9696689281..fd967b5ebf 100644 --- a/src/northbridge/amd/amdfam10/raminit_amdmct.c +++ b/src/northbridge/amd/amdfam10/raminit_amdmct.c @@ -149,6 +149,9 @@ u32 mctGetLogicalCPUID(u32 Node) case 0x10023: ret = AMD_DR_B3; break; + case 0x10062: + ret = AMD_RB_C2; + break; default: /* FIXME: mabe we should die() here. */ print_err("FIXME! CPU Version unknown or not supported! \n"); diff --git a/src/northbridge/amd/amdmct/amddefs.h b/src/northbridge/amd/amdmct/amddefs.h index 6ff9d02b34..5afb0a3c1d 100644 --- a/src/northbridge/amd/amdmct/amddefs.h +++ b/src/northbridge/amd/amdmct/amddefs.h @@ -40,6 +40,7 @@ #define AMD_DR_B2 0x00200000 /* Barcelona B2 */ #define AMD_DR_BA 0x00400000 /* Barcelona BA */ #define AMD_DR_B3 0x00800000 /* Barcelona B3 */ +#define AMD_RB_C2 0x01000000 /* Shanghai C2 */ /* * Groups - Create as many as you wish, from the above public values @@ -57,6 +58,8 @@ #define AMD_DR_LT_B3 (AMD_DR_B0 | AMD_DR_B1 | AMD_DR_B2 | AMD_DR_BA) #define AMD_DR_GT_B0 (AMD_DR_ALL & ~(AMD_DR_B0)) #define AMD_DR_ALL (AMD_DR_Bx) +#define AMD_FAM10_ALL (AMD_DR_ALL | AMD_RB_C2) +#define AMD_FAM10_GT_B0 (AMD_FAM10_ALL & ~(AMD_DR_B0)) /* * Public Platforms - USE THESE VERSIONS TO MAKE COMPARE WITH CPUPLATFORMTYPE RETURN VALUE -- cgit v1.2.3