diff options
author | Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com> | 2019-03-08 14:39:00 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-27 08:23:30 +0000 |
commit | 12724d6ad6fd6ab0ca8ea5d258c0ca7cce807441 (patch) | |
tree | 17f2d8d05b9876dd4fc4161ce67db35d4b916350 /src/mainboard/google/hatch/variants/baseboard/gpio.c | |
parent | 5f0f045da820d9fb72b6c82a4c5a8991b0039444 (diff) | |
download | coreboot-12724d6ad6fd6ab0ca8ea5d258c0ca7cce807441.tar.xz |
mb/google/hatch: Add GPIO_A8 for Pen detect function
Add GPIO_A8 for pen detect function.
BUG=b:122765828
TEST=flash BIOS and using switch to verify GPIO_A8 value change.
Signed-off-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Change-Id: Ie7c888ea61dd61e60c1d184565bd95e6b03777be
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31815
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/hatch/variants/baseboard/gpio.c')
-rw-r--r-- | src/mainboard/google/hatch/variants/baseboard/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/hatch/variants/baseboard/gpio.c b/src/mainboard/google/hatch/variants/baseboard/gpio.c index 73d6645c71..3d6be33682 100644 --- a/src/mainboard/google/hatch/variants/baseboard/gpio.c +++ b/src/mainboard/google/hatch/variants/baseboard/gpio.c @@ -30,8 +30,8 @@ static const struct pad_config gpio_table[] = { PAD_CFG_GPI_APIC(GPP_A6, NONE, DEEP, LEVEL, NONE), /* A7 : PP3300_SOC_A */ PAD_NC(GPP_A7, NONE), - /* A8 : EMR_GARAGE_DET ==> NC */ - PAD_NC(GPP_A8, NONE), + /* A8 : EMR_GARAGE_DET */ + PAD_CFG_GPI_GPIO_DRIVER(GPP_A8, NONE, DEEP), /* A9 : ESPI_CLK */ /* A10 : PEN_RESET_ODL */ PAD_NC(GPP_A10, NONE), |