summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/Tools
diff options
context:
space:
mode:
authorChasel Chiu <chasel.chiu@intel.com>2022-07-28 19:52:49 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-07-29 03:07:28 +0000
commit0d0bfcb4571caa65b7875003f38e67e2ac7e5560 (patch)
tree07fcd0fecd6ea3d75740c37eab0129719fb8e22c /IntelFsp2Pkg/Tools
parent3eca64f157c340f9bbf552d89a69698a3090c080 (diff)
downloadedk2-0d0bfcb4571caa65b7875003f38e67e2ac7e5560.tar.gz
edk2-0d0bfcb4571caa65b7875003f38e67e2ac7e5560.tar.bz2
edk2-0d0bfcb4571caa65b7875003f38e67e2ac7e5560.zip
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>
Diffstat (limited to 'IntelFsp2Pkg/Tools')
-rw-r--r--IntelFsp2Pkg/Tools/GenCfgOpt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFsp2Pkg/Tools/GenCfgOpt.py b/IntelFsp2Pkg/Tools/GenCfgOpt.py
index 71c48f10e0..13be81ddbc 100644
--- a/IntelFsp2Pkg/Tools/GenCfgOpt.py
+++ b/IntelFsp2Pkg/Tools/GenCfgOpt.py
@@ -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")