]> git.proxmox.com Git - mirror_edk2.git/commit - IntelFsp2Pkg/Tools/PatchFv.py
IntelFsp2Pkg: PatchFv parseInfFile function modification
authorS, Ashraf Ali <ashraf.ali.s@intel.com>
Tue, 6 Jul 2021 18:42:04 +0000 (02:42 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 8 Jul 2021 06:49:09 +0000 (06:49 +0000)
commitb560e9d9b67450d3baea56d0e211066722643c57
treee676129405f8062ee49bc9313d2b19da3903c574
parent0e3b6bd0ee753d77c957480657060ae1ea5172b0
IntelFsp2Pkg: PatchFv parseInfFile function modification

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3476

parseInfFile currently reading the EFI_BASE_ADDRESS from INF, once the
address found still it's continues to read the complete inf file which
is not required. once the EFI_BASE_ADDRESS read from the INF no need to
read the INF further.
MSFT compiler can generate the map file address 8 or 16 based on which
architecture the INF is compiler. currently it's support for IA32,
modified the patchfv to support for all.
modification of few typo errors in parseModMapFile, getCurr function
required

verification : Working Fine

Signed-off-by: Ashraf Ali S <ashraf.ali.s@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
IntelFsp2Pkg/Tools/PatchFv.py