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:
parent
ddbf2c4af0
commit
365cb144c8
|
@ -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 */
|
/* Don't show ingredient name and version if its all 0xFF */
|
||||||
if (fvi[index].Version.MajorVersion == 0xFF &&
|
if (fvi[index].Version.MajorVersion == 0xFF &&
|
||||||
fvi[index].Version.MajorVersion == 0xFF &&
|
fvi[index].Version.MinorVersion == 0xFF &&
|
||||||
fvi[index].Version.MajorVersion == 0xFF &&
|
fvi[index].Version.Revision == 0xFF &&
|
||||||
fvi[index].Version.MajorVersion == 0xFF &&
|
fvi[index].Version.BuildNumber == 0xFF &&
|
||||||
fvi[index].VersionStringIndex == 0) {
|
fvi[index].VersionStringIndex == 0) {
|
||||||
str_ptr = (char *)((uintptr_t)str_ptr + cnt +
|
str_ptr = (char *)((uintptr_t)str_ptr + cnt +
|
||||||
sizeof(uint8_t));
|
sizeof(uint8_t));
|
||||||
|
|
Loading…
Reference in New Issue