diff options
author | Guo Mang <mang.guo@intel.com> | 2017-04-05 14:52:40 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-05-09 13:03:13 +0800 |
commit | 4d0d5d01ad0cdefed25a10f3c7d7195e604469d8 (patch) | |
tree | d99a86241c3ac38c7203f10f60c8db03ad90dc80 /Platform/BroxtonPlatformPkg/Common | |
parent | 0e87145f67e7d86c7e251d8965148c21176a12e2 (diff) | |
download | edk2-platforms-4d0d5d01ad0cdefed25a10f3c7d7195e604469d8.tar.xz |
Fix set variable issue
Change variable attribute to fix variable couldn't be set issue.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Mang <mang.guo@intel.com>
Reviewed-by: zwei4 <david.wei@intel.com>
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common')
-rw-r--r-- | Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c index 187eb2179e..de503a372a 100644 --- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c +++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c @@ -596,7 +596,7 @@ InitSeC ( Status = gRT->SetVariable (
L"Setup",
&gEfiSetupVariableGuid,
- EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE,
+ EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_RUNTIME_ACCESS,
sizeof (SYSTEM_CONFIGURATION),
&mSystemConfiguration
);
|