diff options
author | Eric Lai <eric_lai@quanta.corp-partner.google.com> | 2022-07-01 13:51:39 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-07-05 00:39:14 +0000 |
commit | cd4264fbe7c78ed280b965200e9fd15ec95546bc (patch) | |
tree | 8bc10445219b61755a05257f4b44b9c949a7e01b /src/mainboard/google/brya/variants/craask/gpio.c | |
parent | 1b44c81d3dc21abf417578dacdc37c13dce28727 (diff) |
mb/google/nissa: Lock gpio pins for nissa variants
There is a new ground rule, variant should honor baseboard lock gpios.
Thus, lock the gpio which is locked in baseboard.
BUG=b:216671701
TEST=check gpios are locked in pinctrl dump.
Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Change-Id: I61931b0b2f1f936a672e72c98b83d66ba0059bf3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65597
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Reka Norman <rekanorman@chromium.org>
Diffstat (limited to 'src/mainboard/google/brya/variants/craask/gpio.c')
-rw-r--r-- | src/mainboard/google/brya/variants/craask/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/variants/craask/gpio.c b/src/mainboard/google/brya/variants/craask/gpio.c index cc14d4c01a..cb5b996328 100644 --- a/src/mainboard/google/brya/variants/craask/gpio.c +++ b/src/mainboard/google/brya/variants/craask/gpio.c @@ -12,9 +12,9 @@ static const struct pad_config override_gpio_table[] = { /* D7 : WLAN_CLKREQ_ODL */ PAD_NC(GPP_D7, NONE), /* F12 : WWAN_RST_L */ - PAD_CFG_GPO(GPP_F12, 1, DEEP), + PAD_CFG_GPO_LOCK(GPP_F12, 1, LOCK_CONFIG), /* H3 : WLAN_PCIE_WAKE_ODL */ - PAD_NC(GPP_H3, NONE), + PAD_NC_LOCK(GPP_H3, NONE, LOCK_CONFIG), }; /* Early pad configuration in bootblock */ |