summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-19 23:31:48 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-21 09:25:04 +0000
commit365cb144c8622faff5043cbca8ff80751998556c (patch)
tree22ea91f5e14c6bdd63a9430bcdcc97a4680a49f5 /src
parentddbf2c4af05b5cbd889d6a55e67734c8a041bc66 (diff)
downloadcoreboot-365cb144c8622faff5043cbca8ff80751998556c.tar.xz
src/drivers/intel/fsp2_0: Fix logical 'and' of equal expressions
Probably a copy/paste issue. Change-Id: I0334bc1f5d145df5af0a307cf8e7c23cc0605f76 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32886 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src')
-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));