[edk2-devel] [PATCH 2/4] Platform/Intel: Auto configure Fsp*BaseAddress PCD

Chiu, Chasel chasel.chiu at intel.com
Mon Jul 29 11:07:13 UTC 2019


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 at intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone at intel.com>
Cc: Liming Gao <liming.gao at intel.com>
Signed-off-by: Chasel Chiu <chasel.chiu at intel.com>
---
 Platform/Intel/build_bios.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/Platform/Intel/build_bios.py b/Platform/Intel/build_bios.py
index c01b953d16..37b5ee2f5b 100644
--- a/Platform/Intel/build_bios.py
+++ b/Platform/Intel/build_bios.py
@@ -303,21 +303,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 +
-- 
2.13.3.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44508): https://edk2.groups.io/g/devel/message/44508
Mute This Topic: https://groups.io/mt/32640907/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list