mb/google/nissa/var/joxer: 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: Ia087b62904fd515bf73960a188b225f1d49197dd
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65646
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:32:59 +08:00 committed by Felix Held
parent 7bc711743d
commit 02a0d5c1a6
1 changed files with 7 additions and 7 deletions

View File

@ -8,16 +8,16 @@
/* Pad configuration in ramstage */ /* Pad configuration in ramstage */
static const struct pad_config override_gpio_table[] = { static const struct pad_config override_gpio_table[] = {
/* B5 : SOC_I2C_SUB_SDA ==> NC */ /* B5 : SOC_I2C_SUB_SDA ==> NC */
PAD_NC(GPP_B5, NONE), PAD_NC_LOCK(GPP_B5, NONE, LOCK_CONFIG),
/* B6 : SOC_I2C_SUB_SCL ==> NC */ /* B6 : SOC_I2C_SUB_SCL ==> NC */
PAD_NC(GPP_B6, NONE), PAD_NC_LOCK(GPP_B6, NONE, LOCK_CONFIG),
/* D3 : WCAM_RST_L ==> NC */ /* D3 : WCAM_RST_L ==> NC */
PAD_NC(GPP_D3, NONE), PAD_NC_LOCK(GPP_D3, NONE, LOCK_CONFIG),
/* 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),
/* E20 : DDP2_CTRLCLK ==> NC */ /* E20 : DDP2_CTRLCLK ==> NC */
PAD_NC(GPP_E20, NONE), PAD_NC(GPP_E20, NONE),
@ -25,11 +25,11 @@ static const struct pad_config override_gpio_table[] = {
/* F6 : CNV_PA_BLANKING ==> NC */ /* F6 : CNV_PA_BLANKING ==> NC */
PAD_NC(GPP_F6, NONE), PAD_NC(GPP_F6, NONE),
/* F12 : GSXDOUT ==> NC */ /* F12 : GSXDOUT ==> NC */
PAD_NC(GPP_F12, NONE), PAD_NC_LOCK(GPP_F12, NONE, LOCK_CONFIG),
/* F13 : GSXSLOAD ==> NC */ /* F13 : GSXSLOAD ==> NC */
PAD_NC(GPP_F13, NONE), PAD_NC(GPP_F13, NONE),
/* F15 : GSXSRESET# ==> NC */ /* F15 : GSXSRESET# ==> NC */
PAD_NC(GPP_F15, NONE), PAD_NC_LOCK(GPP_F15, NONE, LOCK_CONFIG),
/* H8 : CNV_MFUART2_RXD ==> NC */ /* H8 : CNV_MFUART2_RXD ==> NC */
PAD_NC(GPP_H8, NONE), PAD_NC(GPP_H8, NONE),