Skip to content
Commit 8b2c8fca authored by Nate DeSimone's avatar Nate DeSimone
Browse files

KabyLakeSiliconPkg: Bitmask comparison logic bug



(Cpptv & B_PCH_SPI_SFDPX_VSCCX_CPPTV) can only evaluate to
two possible values, 0x0 or B_PCH_SPI_SFDPX_VSCCX_CPPTV
(aka BIT31). The current comparison to 0x1 will always fail.

Fixed the if statement to compare to B_PCH_SPI_SFDPX_VSCCX_CPPTV.

Signed-off-by: default avatarNate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Reviewed-by: default avatarChasel Chiu <chasel.chiu@intel.com>
Reviewed-by: default avatarSai Chaganty <rangasai.v.chaganty@intel.com>
parent 1c1506e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment