mirror of https://github.com/acidanthera/audk.git
IntelFsp2Pkg: Fix GenCfgOpt bug for FSPI_UPD support.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3993 Fixed a logic bug in GenCfgOpt.py to skip FSPI_UPD when platforms do not support. Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
parent
3eca64f157
commit
0d0bfcb457
|
@ -1301,7 +1301,7 @@ EndList
|
|||
elif '_S' in SignatureStr[6:6+2]:
|
||||
TxtBody.append("#define FSPS_UPD_SIGNATURE %s /* '%s' */\n\n" % (Item['value'], SignatureStr))
|
||||
elif '_I' in SignatureStr[6:6+2]:
|
||||
if NoFSPI == True:
|
||||
if NoFSPI == False:
|
||||
TxtBody.append("#define FSPI_UPD_SIGNATURE %s /* '%s' */\n\n" % (Item['value'], SignatureStr))
|
||||
TxtBody.append("\n")
|
||||
|
||||
|
|
Loading…
Reference in New Issue