summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/broadwell/romstage/report_platform.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-09-28 09:06:43 +0200
committerMartin Roth <martinroth@google.com>2018-10-11 21:05:07 +0000
commit603963e1ba4147ef31a72b94304708ab416e3b6a (patch)
treea6ea32124fe96635dd637333859e7daa6a6e5b73 /src/soc/intel/broadwell/romstage/report_platform.c
parentde5d04011cb2f3de4e93381d58a4d01d5682a3f9 (diff)
downloadcoreboot-603963e1ba4147ef31a72b94304708ab416e3b6a.tar.gz
coreboot-603963e1ba4147ef31a72b94304708ab416e3b6a.tar.bz2
coreboot-603963e1ba4147ef31a72b94304708ab416e3b6a.zip
src: Replace MSR addresses with macros
Change-Id: I849dd406f5ccc733d4957eaf1c774745782f531a Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28784 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/soc/intel/broadwell/romstage/report_platform.c')
-rw-r--r--src/soc/intel/broadwell/romstage/report_platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/broadwell/romstage/report_platform.c b/src/soc/intel/broadwell/romstage/report_platform.c
index fc8b37c73378..44a3d2714c6c 100644
--- a/src/soc/intel/broadwell/romstage/report_platform.c
+++ b/src/soc/intel/broadwell/romstage/report_platform.c
@@ -113,9 +113,9 @@ static void report_cpu_info(void)
microcode_ver.lo = 0;
microcode_ver.hi = 0;
- wrmsr(0x8B, microcode_ver);
+ wrmsr(IA32_BIOS_SIGN_ID, microcode_ver);
cpuidr = cpuid(1);
- microcode_ver = rdmsr(0x8b);
+ microcode_ver = rdmsr(IA32_BIOS_SIGN_ID);
/* Look for string to match the name */
for (i = 0; i < ARRAY_SIZE(cpu_table); i++) {