[edk2] [Patch][edk2-platforms/devel-MinnowBoard3] Enable Processor Power Management.

zwei4 posted 1 patch 7 years ago
Failed in applying to current master (apply log)
.../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(-)
[edk2] [Patch][edk2-platforms/devel-MinnowBoard3] Enable Processor Power Management.
Posted by zwei4 7 years ago
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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel