-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RedfishClientPkg/Bios: handle system default condition
When BIOS loads default settings and remove all variables, Redfish feature driver should ignore stale settings on BMC and force update default settings to BMC. Code optimization: - Only consume attributes when number of attributes is not zero. - Only convert Bios structure to JSON data when attribute value is changed. - Initial variable before using it. - Return EFI_SUCCESS when there is nothing to update and prevent false alarm. - In check() function, return EFI_UNSUPPORTED when there is no config language found for this Redfish resource. And return EFI_NOT_FOUND when there is config language found but they are missing at BMC. This is to match the check() function description and feature driver can understand how to handle these two case separately. Signed-off-by: Nickle Wang <[email protected]>
- Loading branch information
Showing
1 changed file
with
67 additions
and
30 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