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>
This commit is contained in:
Elyes HAOUAS 2019-05-19 23:31:48 +02:00 committed by Patrick Georgi
parent ddbf2c4af0
commit 365cb144c8
1 changed files with 3 additions and 3 deletions

View File

@ -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));