summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c')
-rw-r--r--Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c
index 54e80df917..b03f825f89 100644
--- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c
+++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformDxe/Platform.c
@@ -773,11 +773,9 @@ InitializePlatform (
mSystemConfiguration.PlatformSettingEn = 1;
}
- mSystemConfiguration.PmicSetupDefault = 0;
- if (PlatformInfoHob->PmicVersion == 0) {
- mSystemConfiguration.PmicSetupDefault = 1;
- mSystemConfiguration.MaxPkgCState = 0;
- }
+ mSystemConfiguration.PmicSetupDefault = 1;
+ mSystemConfiguration.MaxPkgCState = PcdGet8 (PcdMaxPkgCState);
+
Status = gRT->SetVariable (
L"Setup",