public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch][edk2-platforms/devel-MinnowBoard3] Enable Processor Power Management.
@ 2017-03-17  6:14 zwei4
  0 siblings, 0 replies; only message in thread
From: zwei4 @ 2017-03-17  6:14 UTC (permalink / raw)
  To: edk2-devel

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: zwei4 <david.wei@intel.com>
---
 .../Common/PlatformSettings/PlatformSetupDxe/Cpu.vfi                | 6 +++---
 .../Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi           | 6 +++---
 Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc                 | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/Cpu.vfi b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/Cpu.vfi
index 81c19bcd3..b2bafa979 100644
--- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/Cpu.vfi
+++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/Cpu.vfi
@@ -1,7 +1,7 @@
 // /** @file
 //  CPU Setup formset.
 //
-//  Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>
+//  Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved.<BR>
 //
 //  This program and the accompanying materials
 //  are licensed and made available under the terms and conditions of the BSD License
@@ -64,8 +64,8 @@ form formid = CPU_CONFIGURATION_FORM_ID,
   oneof varid  = Setup.ActiveProcessorCores,
     prompt = STRING_TOKEN(STR_ACTIVE_PROCESSOR_CORES_PROMPT),
     help = STRING_TOKEN(STR_ACTIVE_PROCESSOR_CORES_HELP),
-    option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = MANUFACTURING | DEFAULT | RESET_REQUIRED;
-    option text = STRING_TOKEN(STR_ENABLE),  value = 1, flags = RESET_REQUIRED;    
+    option text = STRING_TOKEN(STR_DISABLE), value = 0, flags = RESET_REQUIRED;
+    option text = STRING_TOKEN(STR_ENABLE),  value = 1, flags = MANUFACTURING | DEFAULT | RESET_REQUIRED;    
   endoneof;
   
   grayoutif TRUE;
diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi
index e54fc46dd..fe6ba6814 100644
--- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi
+++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/CpuPower.vfi
@@ -1,7 +1,7 @@
 // /** @file
 //  CPU Power Setup formset.
 //
-//  Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.<BR>
+//  Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved.<BR>
 //
 //  This program and the accompanying materials
 //  are licensed and made available under the terms and conditions of the BSD License
@@ -64,9 +64,9 @@ form formid = CPU_PWR_CONFIGURATION_FORM_ID,
     oneof varid     = Setup.MaxPkgCState,
       prompt      = STRING_TOKEN(STR_MAX_PKG_CSTATE_SUPPORT_PROMPT),
       help        = STRING_TOKEN(STR_MAX_PKG_CSTATE_STATE_SUPPORT_HELP),
-      option text = STRING_TOKEN(STR_MAX_PKG_CSTATE_C2),  value = 2, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
+      option text = STRING_TOKEN(STR_MAX_PKG_CSTATE_C2),  value = 2, flags = RESET_REQUIRED;
       option text = STRING_TOKEN(STR_MAX_PKG_CSTATE_C1),  value = 1, flags = RESET_REQUIRED;
-      option text = STRING_TOKEN(STR_MAX_PKG_CSTATE_C0),  value = 0, flags = RESET_REQUIRED;
+      option text = STRING_TOKEN(STR_MAX_PKG_CSTATE_C0),  value = 0, flags = DEFAULT | MANUFACTURING | RESET_REQUIRED;
     endoneof;
   endif;
   
diff --git a/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc b/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc
index 47bb9200b..e8866a0dc 100644
--- a/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc
+++ b/Platform/BroxtonPlatformPkg/PlatformDsc/Defines.dsc
@@ -67,7 +67,7 @@
   DEFINE SHELL_ENABLE = TRUE
   DEFINE ME_ENABLE = TRUE
   DEFINE DTS_ENABLE = FALSE
-  DEFINE PPM_ENABLE = FALSE
+  DEFINE PPM_ENABLE = TRUE
   DEFINE SPI_SERIAL_OUT = FALSE            # MAX3110 SPI UART for EFI debug message out.Verified on pure VP 2.1.2.
   DEFINE SPI_POST_CODE = FALSE             # Max6950 SPI UART for POST code.Verified on pure VP 2.1.2.
   DEFINE CHARGING_ENABLE = TRUE
-- 
2.11.0.windows.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-17  6:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-17  6:14 [Patch][edk2-platforms/devel-MinnowBoard3] Enable Processor Power Management zwei4

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox