David Hendricks has uploaded this change for review.

View Change

mb/facebook/watson: Disable turbo

Change-Id: Ief1eaab960c8fdab5bd5041b1a4f0c6ba1dd833f
Signed-off-by: David Hendricks <dhendrix@fb.com>
---
M src/mainboard/facebook/watson/mainboard.c
1 file changed, 8 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/32222/1
diff --git a/src/mainboard/facebook/watson/mainboard.c b/src/mainboard/facebook/watson/mainboard.c
index e6b7850..8b0f129 100644
--- a/src/mainboard/facebook/watson/mainboard.c
+++ b/src/mainboard/facebook/watson/mainboard.c
@@ -3,6 +3,7 @@
*
* Copyright (C) 2007-2009 coresystems GmbH
* Copyright (C) 2011 Google Inc.
+ * Copyright (C) 2019-present Facebook Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -14,6 +15,7 @@
* GNU General Public License for more details.
*/

+#include <cpu/intel/turbo.h>
#include <device/device.h>

/*
@@ -25,6 +27,12 @@

}

+static void mainboard_init(void *chip_info)
+{
+ disable_turbo();
+}
+
struct chip_operations mainboard_ops = {
.enable_dev = mainboard_enable,
+ .init = mainboard_init,
};

To view, visit change 32222. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ief1eaab960c8fdab5bd5041b1a4f0c6ba1dd833f
Gerrit-Change-Number: 32222
Gerrit-PatchSet: 1
Gerrit-Owner: David Hendricks <david.hendricks@gmail.com>
Gerrit-MessageType: newchange