diff options
author | Zheng Bao <zheng.bao@amd.com> | 2011-03-28 04:29:14 +0000 |
---|---|---|
committer | Zheng Bao <Zheng.Bao@amd.com> | 2011-03-28 04:29:14 +0000 |
commit | 2ca2f177245fdfa34ae7bd732052c8984e2b8b7d (patch) | |
tree | b6852663c5c29001ed76241c73b5c7d135510a1d /src/cpu/amd/model_10xxx/processor_name.c | |
parent | c3422235b14d97c16bd13113c522827d1cfda9b4 (diff) | |
download | coreboot-2ca2f177245fdfa34ae7bd732052c8984e2b8b7d.tar.xz |
Add AMD C32 support.
It is based on other existing Fam10 code.
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Acked-by: Marc Jones <marcj303@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6464 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_10xxx/processor_name.c')
-rw-r--r-- | src/cpu/amd/model_10xxx/processor_name.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/cpu/amd/model_10xxx/processor_name.c b/src/cpu/amd/model_10xxx/processor_name.c index 3f712e37b4..62040d9a51 100644 --- a/src/cpu/amd/model_10xxx/processor_name.c +++ b/src/cpu/amd/model_10xxx/processor_name.c @@ -154,6 +154,25 @@ static const struct str_s String2_socket_AM2[] = { {0, 0, 0, NULL} }; +static const struct str_s String1_socket_C32[] = { + {0x00, 0x03, 0x00, "AMD Opteron(tm) Processor 41"}, + {0x00, 0x05, 0x00, "AMD Opteron(tm) Processor 41"}, + {0x01, 0x03, 0x01, "Embedded AMD Opteron(tm) Processor "}, + {0x01, 0x05, 0x01, "Embedded AMD Opteron(tm) Processor "}, + {0, 0, 0, NULL} +}; + +static const struct str_s String2_socket_C32[] = { + {0x00, 0x03, 0x00, " HE"}, + {0x00, 0x03, 0x01, " EE"}, + {0x00, 0x05, 0x00, " HE"}, + {0x00, 0x05, 0x01, " EE"}, + {0x01, 0x03, 0x01, "QS HE"}, + {0x01, 0x03, 0x02, "LE HE"}, + {0x01, 0x05, 0x01, "KX HE"}, + {0x01, 0x05, 0x02, "GL EE"}, + {0, 0, 0, NULL} +}; const char const *unknown = "AMD Processor model unknown"; const char const *unknown2 = " type unknown"; @@ -218,6 +237,10 @@ int init_processor_name(void) str = String1_socket_AM2; str2 = String2_socket_AM2; break; + case 5: /* C32 */ + str = String1_socket_C32; + str2 = String2_socket_C32; + break; default: goto done; } |