Damien Zammit (damien@zamaudio.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3777
-gerrit
commit e9bcaea1dc5afc8f7ee0b7c05c9576359f1800f4 Author: Damien Zammit damien@zamaudio.com Date: Wed Jul 17 23:59:40 2013 +1000
Add CPUID raw model and prepend "0x" to hex values.
Change-Id: I1b939ab9466f053c0b86683df145c7d2c8baadb4 Signed-off-by: Damien Zammit damien@zamaudio.com --- util/inteltool/inteltool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c index 5cd964a..5e7352a 100644 --- a/util/inteltool/inteltool.c +++ b/util/inteltool/inteltool.c @@ -374,8 +374,8 @@ int main(int argc, char *argv[]) * left-shifted "Extended Model" fields. * http://download.intel.com/design/processor/applnots/24161832.pdf */ - printf("CPU: Processor Type: %x, Family %x, Model %x, Stepping %x\n", - (id >> 12) & 0x3, ((id >> 8) & 0xf) + ((id >> 20) & 0xff), + printf("CPU: 0x%x : Processor Type: 0x%x, Family 0x%x, Model 0x%x, Stepping 0x%x\n", + id, (id >> 12) & 0x3, ((id >> 8) & 0xf) + ((id >> 20) & 0xff), ((id >> 12) & 0xf0) + ((id >> 4) & 0xf), (id & 0xf));
/* Determine names */