mb/google/nissa: Override GPIO_PCH_WP for pujjocento variant
According to the circuit schematic diagram, pujjocento uses GPP_E12 as a write-protected gpio,so it is necessary to add the GPIO_PCH_WP definition for GPP_E12 in gpio.h. BUG=b:422656149 BRANCH=none TEST=wp status update verified by toggling it on and off. Change-Id: I91081f1b0ce5cb2fb3a29b96c1dcc18774f70f09 Signed-off-by: Zhongtian Wu <wuzhongtian@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87967 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
parent
2060f24d60
commit
8b54428200
2 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/gpio.h>
|
||||
#include <variant/gpio.h>
|
||||
#include <baseboard/variants.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <types.h>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
#define VARIANT_GPIO_H
|
||||
|
||||
#include <baseboard/gpio.h>
|
||||
#undef GPIO_PCH_WP
|
||||
/* WP signal to PCH */
|
||||
#define GPIO_PCH_WP GPP_E12
|
||||
|
||||
#define WWAN_FCPO GPP_D6 /* FULL_CARD_POWER_OFF# */
|
||||
#define WWAN_RST GPP_E17
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue