nb/intel/haswell: Correct designation of MRC version
Do not use `System Agent version` to refer to the MRC version, which is
what the register being printed contains under normal circumstances. Use
the code from Broadwell, which also happens to be indented with tabs.
Change-Id: I03b24a8e0e8676af7c5297dc3fc7bf60b9bbb088
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46371
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c
index b23f072..83654fe 100644
--- a/src/northbridge/intel/haswell/raminit.c
+++ b/src/northbridge/intel/haswell/raminit.c
@@ -164,11 +164,11 @@
die("UEFI PEI System Agent not found.\n");
}
- /* For reference, print the System Agent version after executing the UEFI PEI stage */
+ /* Print the MRC version after executing the UEFI PEI stage */
u32 version = MCHBAR32(MRC_REVISION);
- printk(BIOS_DEBUG, "System Agent Version %d.%d.%d Build %d\n",
- (version >> 24) & 0xff, (version >> 16) & 0xff,
- (version >> 8) & 0xff, (version >> 0) & 0xff);
+ printk(BIOS_DEBUG, "MRC Version %d.%d.%d Build %d\n",
+ (version >> 24) & 0xff, (version >> 16) & 0xff,
+ (version >> 8) & 0xff, (version >> 0) & 0xff);
report_memory_config();
}