Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 69e10f02111bf7e719237f05233abff4e50016fa
      
https://github.com/tianocore/edk2/commit/69e10f02111bf7e719237f05233abff4e50016fa
  Author: Tan, Ming <ming....@intel.com>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.c
    M IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c

  Log Message:
  -----------
  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.c...@intel.com>
Cc: Duggapu Chinni B <chinni.b.dugg...@intel.com>
Signed-off-by: Ming Tan <ming....@intel.com>
Reviewed-by: S Ashraf Ali <ashraf.al...@intel.com>
Reviewed-by: Chasel Chiu <chasel.c...@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to