OvmfPkg: fix PlatformConfig

The Hii form is named "MainFormState" and the EFI variable is named
"PlatformConfig".  Take into account the different names.

Fixes: aefcc91805 ("OvmfPkg/PlatformDxe: Handle all requests in ExtractConfig and RouteConfig")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann
2022-12-09 12:22:44 +01:00
committed by mergify[bot]
parent d8d4abdff9
commit 16acacf24c
3 changed files with 4 additions and 2 deletions

View File

@@ -22,6 +22,7 @@
// Name of the UEFI variable that we use for persistent storage.
//
CHAR16 mVariableName[] = L"PlatformConfig";
CHAR16 mHiiFormName[] = L"MainFormState";
/**
Serialize and persistently save platform configuration.