From: Erwan Velu Date: Mon, 30 Nov 2009 11:24:40 +0000 (+0100) Subject: dmi: More cpu upgrade options X-Git-Tag: syslinux-3.84-pre6~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04f2199cc49ae0983e8198842d4ecc72f6a6bdc8;p=profile%2Fivi%2Fsyslinux.git dmi: More cpu upgrade options Impact: many cpu upgrade were set out of spec Fixing stupid typo which prevent cpu upgrade options to be shown --- diff --git a/com32/gpllib/dmi/dmi_processor.c b/com32/gpllib/dmi/dmi_processor.c index 8f3dda6..d51b028 100644 --- a/com32/gpllib/dmi/dmi_processor.c +++ b/com32/gpllib/dmi/dmi_processor.c @@ -368,7 +368,7 @@ const char *dmi_processor_upgrade(uint8_t code) "Socket 754", "Socket 940", "Socket 939" /* 0x12 */ - "Socket mPGA604", + "Socket mPGA604", "Socket LGA771", "Socket LGA775", "Socket S1", @@ -376,7 +376,7 @@ const char *dmi_processor_upgrade(uint8_t code) "Socket F (1207)" }; - if (code >= 0x01 && code <= 0x11) + if (code >= 0x01 && code <= 0x18) return upgrade[code - 0x01]; return out_of_spec; }