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:Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Sai Chaganty <rangasai.v.chaganty@intel.com> Reviewed-by:
Chasel Chiu <chasel.chiu@intel.com> Reviewed-by:
Sai Chaganty <rangasai.v.chaganty@intel.com>
Loading
Please register or sign in to comment