summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-07-10 17:06:22 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-07-25 19:52:35 +0200
commit0aa5b0923a1e11a4db659ecb4706eb69b4a9e606 (patch)
treeb1cff441f5c6499c0223b317c7dba90ea34383ba /src/cpu
parente6f459ca4b24d0f6dc07c2dd6a5278543c0c745d (diff)
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)
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/intel/microcode/microcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/intel/microcode/microcode.c b/src/cpu/intel/microcode/microcode.c
index af83faf69d..e84bad9beb 100644
--- a/src/cpu/intel/microcode/microcode.c
+++ b/src/cpu/intel/microcode/microcode.c
@@ -127,8 +127,8 @@ void intel_update_microcode(const void *microcode_updates)
#if !defined(__ROMCC__)
printk(BIOS_DEBUG, "microcode: updated to revision "
"0x%x date=%04x-%02x-%02x\n", new_rev,
- m->date & 0xffff, (m->date >> 16) & 0xff,
- (m->date >> 24) & 0xff);
+ m->date & 0xffff, (m->date >> 24) & 0xff,
+ (m->date >> 16) & 0xff);
#endif
break;
}