Fix date output in Microcode update

Date and time are mixed up:
microcode: updated to revision 0x12 date=2012-12-04
should be
microcode: updated to revision 0x12 date=2012-04-12

Change-Id: I85f9100f31d88bb831bef07131f361c92c7ef34e
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1334
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Stefan Reinauer 2012-07-10 17:06:22 -07:00 committed by Stefan Reinauer
parent e6f459ca4b
commit 0aa5b0923a
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ void intel_update_microcode(const void *microcode_updates)
#if !defined(__ROMCC__) #if !defined(__ROMCC__)
printk(BIOS_DEBUG, "microcode: updated to revision " printk(BIOS_DEBUG, "microcode: updated to revision "
"0x%x date=%04x-%02x-%02x\n", new_rev, "0x%x date=%04x-%02x-%02x\n", new_rev,
m->date & 0xffff, (m->date >> 16) & 0xff, m->date & 0xffff, (m->date >> 24) & 0xff,
(m->date >> 24) & 0xff); (m->date >> 16) & 0xff);
#endif #endif
break; break;
} }