summaryrefslogtreecommitdiff
path: root/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseAndPatchFspBinBaseAddress.py
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseAndPatchFspBinBaseAddress.py')
-rw-r--r--Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseAndPatchFspBinBaseAddress.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseAndPatchFspBinBaseAddress.py b/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseAndPatchFspBinBaseAddress.py
index b9d627a1d2..1558ad9bc3 100644
--- a/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseAndPatchFspBinBaseAddress.py
+++ b/Platform/Intel/MinPlatformPkg/Tools/Fsp/RebaseAndPatchFspBinBaseAddress.py
@@ -59,9 +59,9 @@ flashmap = data
# Get FSP-S & FSP-M-T offset & calculate the base
for line in flashmap.split("\n"):
- if "PcdFlashFvFspsOffset" in line:
+ if "PcdFlashFvFspSOffset" in line:
fspSBaseOffset = long(line.split("=")[1].split()[0], 16)
- if "PcdFlashFvFspmtOffset" in line:
+ if "PcdFlashFvFspMTOffset" in line:
fspMBaseOffset = long(line.split("=")[1].split()[0], 16)
file.close()