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>
This commit is contained in:
Eric Lai 2022-07-05 08:27:01 +08:00 committed by Felix Held
parent 878574df94
commit 0a87c10f96
1 changed files with 4 additions and 4 deletions

View File

@ -8,15 +8,15 @@
/* Pad configuration in ramstage for Pujjo */ /* Pad configuration in ramstage for Pujjo */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {
/* D3 : WCAM_RST_L ==> NC */ /* D3 : WCAM_RST_L ==> NC */
PAD_NC(GPP_D3, NONE), PAD_NC_LOCK(GPP_D3, NONE, LOCK_CONFIG),
/* D6 : SRCCLKREQ1# ==> WWAN_EN */ /* D6 : SRCCLKREQ1# ==> WWAN_EN */
PAD_CFG_GPO(GPP_D6, 1, DEEP), PAD_CFG_GPO(GPP_D6, 1, DEEP),
/* D15 : EN_PP2800_WCAM_X ==> NC */ /* 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 */ /* D16 : EN_PP1800_PP1200_WCAM_X ==> NC */
PAD_NC(GPP_D16, NONE), PAD_NC_LOCK(GPP_D16, NONE, LOCK_CONFIG),
/* F12 : WWAN_RST_L */ /* 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 */ /* H22 : WCAM_MCLK_R ==> NC */
PAD_NC(GPP_H22, NONE), PAD_NC(GPP_H22, NONE),
}; };