diff options
author | Tan, Ming <ming.tan@intel.com> | 2023-05-21 23:13:06 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-05-30 03:56:58 +0000 |
commit | 69e10f02111bf7e719237f05233abff4e50016fa (patch) | |
tree | cd35cad20ff9afa4205476bc08491774cfcdcb76 /IntelFsp2Pkg | |
parent | 9d9761af50e538d983e00b1cb2d0ffcee261e552 (diff) | |
download | edk2-69e10f02111bf7e719237f05233abff4e50016fa.tar.gz edk2-69e10f02111bf7e719237f05233abff4e50016fa.tar.bz2 edk2-69e10f02111bf7e719237f05233abff4e50016fa.zip |
IntelFsp2WrapperPkg: Fix ASSERT when FSP-S/M use FFS3.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4458
Original code call PeiServicesInstallFvInfoPpi() with NULL for the
FvFormat parameter, then PeiServicesInstallFvInfoPpi() will assume it
use FFS2, then ASSERT if FSP-S/M use FFS3.
Now set the FvFormat to the info got from FvHeader.
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Duggapu Chinni B <chinni.b.duggapu@intel.com>
Signed-off-by: Ming Tan <ming.tan@intel.com>
Reviewed-by: S Ashraf Ali <ashraf.ali.s@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Diffstat (limited to 'IntelFsp2Pkg')
0 files changed, 0 insertions, 0 deletions