]> git.proxmox.com Git - mirror_edk2.git/commit
IntelFsp2WrapperPkg: Perform post FSP-S process.
authorChasel, Chiu <chasel.chiu@intel.com>
Fri, 12 Apr 2019 08:54:47 +0000 (16:54 +0800)
committerChasel Chiu <chasel.chiu@intel.com>
Tue, 16 Apr 2019 04:46:58 +0000 (12:46 +0800)
commit68d47eea422d64eeb9872b927620f579f4ccfc0f
tree1f3b0682ab8f1e2bb9d6c438e46de97be0f3837e
parenteb33b3994d06de418222e664cb1c17369436e93c
IntelFsp2WrapperPkg: Perform post FSP-S process.

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

In API mode FSP wrapper will perform some post
FSP-S process but such process was skipped in Dispatch
mode which may impact some of the boot loaders.
To align behavior between API and Dispatch, an
End-of-Pei callback is introduced to perform same process
in Dispatch mode.

Note: If boot loader implemented its own
      PostFspsHobProcess (), it has to check
      PcdFspModeSelection and support each mode
      properly.

Test: Verified on internal platform and both
      FSP API and Dispatch modes booted successfully.

Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c
IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c
IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/PeiFspWrapperHobProcessLibSample.inf