summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/intel/fsp2_0/hand_off_block.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/intel/fsp2_0/hand_off_block.c b/src/drivers/intel/fsp2_0/hand_off_block.c
index 5efd59058c..c5c78cabf0 100644
--- a/src/drivers/intel/fsp2_0/hand_off_block.c
+++ b/src/drivers/intel/fsp2_0/hand_off_block.c
@@ -237,9 +237,9 @@ static void display_fsp_version_info_hob(const void *hob, size_t size)
/* Don't show ingredient name and version if its all 0xFF */
if (fvi[index].Version.MajorVersion == 0xFF &&
- fvi[index].Version.MajorVersion == 0xFF &&
- fvi[index].Version.MajorVersion == 0xFF &&
- fvi[index].Version.MajorVersion == 0xFF &&
+ fvi[index].Version.MinorVersion == 0xFF &&
+ fvi[index].Version.Revision == 0xFF &&
+ fvi[index].Version.BuildNumber == 0xFF &&
fvi[index].VersionStringIndex == 0) {
str_ptr = (char *)((uintptr_t)str_ptr + cnt +
sizeof(uint8_t));