diff options
author | Philip Chen <philipchen@google.com> | 2017-08-23 18:02:25 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2017-08-31 20:03:07 +0000 |
commit | a0618201d42f4cba1b25ecda9bc11ca41511c206 (patch) | |
tree | ad9656fdeb11ceb425d92b1c0f671ac5e5325312 /src/mainboard/google/gru/mainboard.c | |
parent | 662cf7f8a6aefbda084a578ce101e3a8943358b2 (diff) | |
download | coreboot-a0618201d42f4cba1b25ecda9bc11ca41511c206.tar.xz |
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/mainboard.c')
-rw-r--r-- | src/mainboard/google/gru/mainboard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/google/gru/mainboard.c b/src/mainboard/google/gru/mainboard.c index 77c185cb3d..df3df4fcae 100644 --- a/src/mainboard/google/gru/mainboard.c +++ b/src/mainboard/google/gru/mainboard.c @@ -44,7 +44,7 @@ static void configure_touchpad(void) /* * Wifi's PDN/RST line is pulled down by its (unpowered) voltage rails, but * this reset pin is pulled up by default. Let's drive it low as early as we - * can. Scarlet uses a different WiFi chip that doesn't have this pin anymore. + * can. This only applies to boards with Marvell 8997 WiFi. */ static void assert_wifi_reset(void) { @@ -349,8 +349,9 @@ static void mainboard_init(device_t dev) if (display_init_required()) configure_display(); setup_usb(0); + if (IS_ENABLED(CONFIG_GRU_HAS_WLAN_RESET)) + assert_wifi_reset(); if (!IS_ENABLED(CONFIG_BOARD_GOOGLE_SCARLET)) { - assert_wifi_reset(); /* Scarlet: no WIFI_PD# line */ configure_touchpad(); /* Scarlet: works differently */ setup_usb(1); /* Scarlet: only one USB port */ register_gpio_suspend(); /* Scarlet: all EC-controlled */ |