diff options
author | Chasel Chiu <chasel.chiu@intel.com> | 2019-07-29 17:48:35 +0800 |
---|---|---|
committer | Chasel Chiu <chasel.chiu@intel.com> | 2019-07-31 09:08:00 +0800 |
commit | cc4432f539bb0b9e48f1703a20ade79d5521b51e (patch) | |
tree | f68557b6f08fa067679f094b5d4ef45f15d6c8ec | |
parent | 2ba762e83d52682574b923272e8d5ca8e00527a3 (diff) |
Platform/Intel: Auto configure Fsp*BaseAddress PCD
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1863
Consume RebaseFspBinBaseAddress.py which will only rebase
FSP binary without patching platform DSC.
Cc: Michael Kubacki <michael.a.kubacki@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
-rw-r--r-- | Platform/Intel/build_bios.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Platform/Intel/build_bios.py b/Platform/Intel/build_bios.py index beba4ace..9152670d 100644 --- a/Platform/Intel/build_bios.py +++ b/Platform/Intel/build_bios.py @@ -304,21 +304,18 @@ def build(config): os.path.join(config['WORKSPACE_PLATFORM'],
config['PLATFORM_PACKAGE'],
'Tools', 'Fsp',
- 'RebaseAndPatchFspBinBaseAddress.py'),
+ 'RebaseFspBinBaseAddress.py'),
os.path.join(config['WORKSPACE_PLATFORM'],
config['FLASH_MAP_FDF']),
os.path.join(config['WORKSPACE_FSP_BIN'],
config['FSP_BIN_PKG']),
"Fsp.fd",
- os.path.join(config['WORKSPACE_PLATFORM'],
- config['PROJECT'],
- config['BOARD_PKG_PCD_DSC']),
"0x0"]
_, _, _, return_code = execute_script(command, config, shell=False)
if return_code != 0:
- print("ERROR:RebaseAndPatchFspBinBaseAddress failed")
+ print("ERROR:RebaseFspBinBaseAddress failed")
sys.exit(return_code)
# create Fsp_Rebased.fd which is Fsp_Rebased_S.fd +
|