summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/pujjo
diff options
context:
space:
mode:
authorEric Lai <eric_lai@quanta.corp-partner.google.com>2022-07-05 08:27:01 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-07-06 01:42:41 +0000
commit0a87c10f969d470f49db4d9558a4204b82d4a93a (patch)
tree1872264944f5489be2772611167495ca67ba2c32 /src/mainboard/google/brya/variants/pujjo
parent878574df94e1feefb0b1b3d1d374c66f513577f8 (diff)
mb/google/nissa/var/pujjo: Add lock gpio pins
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=build passed. Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Change-Id: I9f0fcf52b6b7d622e4fd182e007de6401856c7fb Reviewed-on: https://review.coreboot.org/c/coreboot/+/65645 Reviewed-by: Reka Norman <rekanorman@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/brya/variants/pujjo')
-rw-r--r--src/mainboard/google/brya/variants/pujjo/gpio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/brya/variants/pujjo/gpio.c b/src/mainboard/google/brya/variants/pujjo/gpio.c
index 02ea1b48ba..46d4a1a6dc 100644
--- a/src/mainboard/google/brya/variants/pujjo/gpio.c
+++ b/src/mainboard/google/brya/variants/pujjo/gpio.c
@@ -8,15 +8,15 @@
/* Pad configuration in ramstage for Pujjo */
static const struct pad_config override_gpio_table[] = {
/* D3 : WCAM_RST_L ==> NC */
- PAD_NC(GPP_D3, NONE),
+ PAD_NC_LOCK(GPP_D3, NONE, LOCK_CONFIG),
/* D6 : SRCCLKREQ1# ==> WWAN_EN */
PAD_CFG_GPO(GPP_D6, 1, DEEP),
/* D15 : EN_PP2800_WCAM_X ==> NC */
- PAD_NC(GPP_D15, NONE),
+ PAD_NC_LOCK(GPP_D15, NONE, LOCK_CONFIG),
/* D16 : EN_PP1800_PP1200_WCAM_X ==> NC */
- PAD_NC(GPP_D16, NONE),
+ PAD_NC_LOCK(GPP_D16, NONE, LOCK_CONFIG),
/* F12 : WWAN_RST_L */
- PAD_CFG_GPO(GPP_F12, 1, DEEP),
+ PAD_CFG_GPO_LOCK(GPP_F12, 1, LOCK_CONFIG),
/* H22 : WCAM_MCLK_R ==> NC */
PAD_NC(GPP_H22, NONE),
};