summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2018-02-01 15:15:31 -0700
committerMartin Roth <martinroth@google.com>2018-02-05 17:13:01 +0000
commit8b40b675a8e45f748e7fbf2495a7f01684fa0401 (patch)
treed2fd97e374b65b11e56d48412dded4f7d3228d8f /src/mainboard
parent310abe0bdee2fddd47c2bd87925fd9a127b7da6a (diff)
downloadcoreboot-8b40b675a8e45f748e7fbf2495a7f01684fa0401.tar.xz
mb/google/kahlee: Enable wlan card so it can be detected
The wifi card was not being powered, and was being held in reset during PCI enumeration, so it was not being brought up. BUG=b:72738963 TEST=Verify wlan card shows up in lspci Change-Id: I5a1e83298af35aa80c67c75cd6ec0a2c3213891e Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/23552 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/kahlee/variants/baseboard/gpio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/google/kahlee/variants/baseboard/gpio.c b/src/mainboard/google/kahlee/variants/baseboard/gpio.c
index 6954f63512..a6bcea5c86 100644
--- a/src/mainboard/google/kahlee/variants/baseboard/gpio.c
+++ b/src/mainboard/google/kahlee/variants/baseboard/gpio.c
@@ -38,6 +38,9 @@ const static struct soc_amd_stoneyridge_gpio gpio_set_stage_reset[] = {
/* GPIO_3 - MEM_VOLT_SEL */
{ GPIO_3, Function0, FCH_GPIO_PULL_UP_ENABLE | INPUT },
+ /* GPIO_4 - EN_PP3300_WLAN */
+ { GPIO_4, Function0, OUTPUT_H },
+
/* GPIO_5 - PCH_TRACKPAD_INT_3V3_ODL, SCI */
{ GPIO_5, Function0, FCH_GPIO_PULL_UP_ENABLE | INPUT },
@@ -90,6 +93,9 @@ const static struct soc_amd_stoneyridge_gpio gpio_set_stage_reset[] = {
/* GPIO_42 - S5_MUX_CTRL */
{ GPIO_42, Function0, OUTPUT_H },
+ /* GPIO_70 - WLAN_PE_RST_L */
+ { GPIO_70, Function0, OUTPUT_H },
+
/* GPIO_74 - LPC_CLK0_EC_R */
{ GPIO_74, Function0, FCH_GPIO_PULL_DOWN_ENABLE | INPUT },
@@ -197,9 +203,6 @@ const static struct soc_amd_stoneyridge_gpio gpio_set_stage_ram[] = {
/* GPIO_2 - WLAN_PCIE_WAKE_3V3_ODL */
{ GPIO_2, Function0, FCH_GPIO_PULL_UP_ENABLE | INPUT },
- /* GPIO_4 - EN_PP3300_WLAN */
- { GPIO_4, Function0, OUTPUT_H },
-
/* GPIO_10 - SLP_S0_L (currently not used) */
{ GPIO_10, Function0, FCH_GPIO_PULL_UP_ENABLE | INPUT },
@@ -221,9 +224,6 @@ const static struct soc_amd_stoneyridge_gpio gpio_set_stage_ram[] = {
/* GPIO_67 - PEN_RESET */
{ GPIO_67, Function0, OUTPUT_L },
- /* GPIO_70 - WLAN_PE_RST_L */
- { GPIO_70, Function0, OUTPUT_H },
-
/* GPIO_75 - Unused (strap) (R139/R130) */
{ GPIO_75, Function1, FCH_GPIO_PULL_UP_ENABLE | INPUT },