summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/dedede/variants/baseboard/gpio.c
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2020-03-10 22:00:24 -0600
committerMartin Roth <martinroth@google.com>2020-03-14 23:29:30 +0000
commit136e0cbbc139356e39d7f0457dd05cac1ee5183f (patch)
tree17f7d739d11860096a905da9649831f6a7e2c0bf /src/mainboard/google/dedede/variants/baseboard/gpio.c
parentf9c6a8821fb9b1adad3b1be462313f53b9e37c7b (diff)
downloadcoreboot-136e0cbbc139356e39d7f0457dd05cac1ee5183f.tar.gz
coreboot-136e0cbbc139356e39d7f0457dd05cac1ee5183f.tar.bz2
coreboot-136e0cbbc139356e39d7f0457dd05cac1ee5183f.zip
mb/google/dedede: Add BT Disable GPIO configuration
Disable the BT module in bootblock and enable it in ramstage. This allows for loading the BT firmware during reboot. TEST=Build and boot the mainboard. Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Change-Id: I0406a68ffcab2675a1aedb212cb7c8508a5b61fc Reviewed-on: https://review.coreboot.org/c/coreboot/+/39446 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/variants/baseboard/gpio.c')
-rw-r--r--src/mainboard/google/dedede/variants/baseboard/gpio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainboard/google/dedede/variants/baseboard/gpio.c b/src/mainboard/google/dedede/variants/baseboard/gpio.c
index fe903bd934bf..20c7be91231a 100644
--- a/src/mainboard/google/dedede/variants/baseboard/gpio.c
+++ b/src/mainboard/google/dedede/variants/baseboard/gpio.c
@@ -328,7 +328,7 @@ static const struct pad_config gpio_table[] = {
/* H18 : WLAN_DISABLE_L */
PAD_NC(GPP_H18, NONE),
/* H19 : BT_DISABLE_L */
- PAD_NC(GPP_H19, NONE),
+ PAD_CFG_GPO(GPP_H19, 1, DEEP),
/* R0 : I2S_HP_BCLK */
PAD_NC(GPP_R0, NONE),
@@ -409,6 +409,9 @@ static const struct pad_config early_gpio_table[] = {
PAD_CFG_GPI(GPP_C4, NONE, DEEP),
/* C5 : RAM_STRAP_3 */
PAD_CFG_GPI(GPP_C5, NONE, DEEP),
+
+ /* H19 : BT_DISABLE_L */
+ PAD_CFG_GPO(GPP_H19, 0, DEEP),
};
const struct pad_config *__weak variant_gpio_table(size_t *num)