aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru/romstage.c
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-08-23 18:02:25 -0700
committerJulius Werner <jwerner@chromium.org>2017-08-31 20:03:07 +0000
commita0618201d42f4cba1b25ecda9bc11ca41511c206 (patch)
treead9656fdeb11ceb425d92b1c0f671ac5e5325312 /src/mainboard/google/gru/romstage.c
parent662cf7f8a6aefbda084a578ce101e3a8943358b2 (diff)
google/gru: Support Nefario rev0
Do not assert GPIO1_B3 otherwise BT would be disabled on Nefario. Also, remove DVS support for CENTERLOGIC. BUG=b:64702054, b:63537905 TEST=build coreboot Change-Id: I350db2c080f2e41ae56413f5f895557978ef0ba8 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://review.coreboot.org/21176 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/gru/romstage.c')
-rw-r--r--src/mainboard/google/gru/romstage.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mainboard/google/gru/romstage.c b/src/mainboard/google/gru/romstage.c
index bde61b28aa..9f938f3eb2 100644
--- a/src/mainboard/google/gru/romstage.c
+++ b/src/mainboard/google/gru/romstage.c
@@ -41,11 +41,13 @@ static void init_dvs_outputs(void)
pwm_regulator_configure(PWM_REGULATOR_GPU, 900);
pwm_regulator_configure(PWM_REGULATOR_BIG, 900);
- /* Kevin's logic rail has some ripple, so up the voltage a bit. Scarlet
- uses a fixed 900mV regulator for centerlogic. */
+ /*
+ * Kevin's logic rail has some ripple, so up the voltage a bit. Newer
+ * boards use a fixed 900mV regulator for centerlogic.
+ */
if (IS_ENABLED(CONFIG_BOARD_GOOGLE_KEVIN))
pwm_regulator_configure(PWM_REGULATOR_CENTERLOG, 925);
- else if (!IS_ENABLED(CONFIG_BOARD_GOOGLE_SCARLET))
+ else if (IS_ENABLED(CONFIG_GRU_HAS_CENTERLOG_PWM))
pwm_regulator_configure(PWM_REGULATOR_CENTERLOG, 900);
/* Allow time for the regulators to settle */