-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mmc: Set clear NVRAM bios attribute during factory reset
During factory reset, instead of calling the PLDM services to delete the PHYP NVRAM files, set the pvm_clear_nvram bios attribute to Enabled to signal the hypervisor to clear NVRAM when it starts up. Add the nvram hostfw directory to the list of directories to preserve during a factory reset because the NVRAM files would now be cleared by the hypervisor after reading the bios attribute. Tested: Verified the pvm_clar_nvram bios attribute was set to Enabled as part of factory reset. Verified a journal error message was logged if the attribute did not exist and the rest of the factory reset actions were executed. Change-Id: Ia3c0f707e8fb8208b5e2bc1edb9a8aef3bb36a89 Signed-off-by: Adriana Kobylak <[email protected]>
- Loading branch information
Showing
3 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters