Add AMD C32 support.
[coreboot.git] / src / cpu / amd / model_10xxx / processor_name.c
index 3f712e37b46e36f3b2d3f34f8c631edd072cf3eb..62040d9a5194d8a2d3caed0f591ee560e9d22c4f 100644 (file)
@@ -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;
        }