diff options
| author | Chasel Chiu <chasel.chiu@intel.com> | 2023-02-04 00:04:14 +0300 |
|---|---|---|
| committer | Chasel Chiu <chasel.chiu@intel.com> | 2023-02-09 01:15:26 +0300 |
| commit | e9730dfa998a9bf3996c10ede6773afd49a9b268 (patch) | |
| tree | 4e7eec3d7fe38232c49b2454c75686f69104795c /Features/Intel/Debugging/Readme.md | |
| parent | 615afc82db9f3ff348dacf8a94d9bb588783964b (diff) | |
| download | edk2-platforms-spifvb_fix.tar.xz | |
IntelSiliconPkg/SpiFvbServiceSmm: Rewrite VariableStore header.spifvb_fix
When invalid VariableStore FV header detected, current SpiFvbService
will erase both FV and VariableStore headers from flash, however,
it will only rewrite FV header back and cause invalid VariableStore
header.
This patch adding the support for rewriting both FV header and
VariableStore header when VariableStore corruption happened.
The Corrupted variable content should be taken care by
FaultTolerantWrite driver later.
Platform has to set PcdFlashVariableStoreType to inform SpiFvbService
which VariableStoreType should be rewritten.
Cc: Ashraf Ali S <ashraf.ali.s@intel.com>
Cc: Isaac Oram <isaac.w.oram@intel.com>
Cc: Rangasai V Chaganty <rangasai.v.chaganty@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
Diffstat (limited to 'Features/Intel/Debugging/Readme.md')
0 files changed, 0 insertions, 0 deletions
