summaryrefslogtreecommitdiff
path: root/src/mainboard/siemens
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2021-11-03 10:37:57 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-11-04 11:04:46 +0000
commit9916eb400f0c58d316d5592c5c8629676925601f (patch)
tree111c030367a18d48d1e19ac7e9f7eeedcb8b71e3 /src/mainboard/siemens
parent2d046936401d49dff8b4ab6cf509eeac92db865d (diff)
mb/siemens/mc_ehl: Disable all P-States
In order to get a reliable real-time performance disable all P-States for all mc_ehl based mainboard. Change-Id: I22857cc0f1476483ca82c1c872e4519e4b350ea9 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58894 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <lean.sheng.tan@intel.com> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'src/mainboard/siemens')
-rw-r--r--src/mainboard/siemens/mc_ehl/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_ehl/mainboard.c b/src/mainboard/siemens/mc_ehl/mainboard.c
index eff2d21ac6..fc03115a8e 100644
--- a/src/mainboard/siemens/mc_ehl/mainboard.c
+++ b/src/mainboard/siemens/mc_ehl/mainboard.c
@@ -122,6 +122,9 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
/* Set maximum package C-state to PkgC0C1 */
params->PkgCStateLimit = 0;
+
+ /* Disable P-States */
+ params->MaxRatio = 0;
}
static void mainboard_init(void *chip_info)