summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/siemens/mc_ehl/mainboard.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/siemens/mc_ehl/mainboard.c b/src/mainboard/siemens/mc_ehl/mainboard.c
index e64dbda54f..eff2d21ac6 100644
--- a/src/mainboard/siemens/mc_ehl/mainboard.c
+++ b/src/mainboard/siemens/mc_ehl/mainboard.c
@@ -10,6 +10,7 @@
#include <hwilib.h>
#include <i210.h>
#include <soc/gpio.h>
+#include <soc/ramstage.h>
#include <string.h>
#include <timer.h>
#include <timestamp.h>
@@ -114,6 +115,15 @@ static void wait_for_legacy_dev(void *unused)
printk(BIOS_NOTICE, "done!\n");
}
+void mainboard_silicon_init_params(FSP_S_CONFIG *params)
+{
+ /* Disable CPU power states (C-states) */
+ params->Cx = 0;
+
+ /* Set maximum package C-state to PkgC0C1 */
+ params->PkgCStateLimit = 0;
+}
+
static void mainboard_init(void *chip_info)
{
const struct pad_config *pads;