mb/google/zork/var/vilboz: Guard GPIO for SAR sensor

The GPIO for the proximity sensor, which is only used by ChromeOS for
WiFi power/SAR purposes, causes an IRQ storm under Windows. Only
configure it when building for ChromeOS.

TEST=build/boot Win11 on vilboz

Change-Id: I38955f2e11c7eb412416884b4769e70dd1bde6de
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91791
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Matt DeVillier 2024-04-12 13:28:03 -05:00
commit 65858ad5c9

View file

@ -15,8 +15,10 @@ static const struct soc_amd_gpio bid_1_gpio_set_stage_ram[] = {
};
static const struct soc_amd_gpio vilboz_gpio_set_stage_ram[] = {
#if CONFIG(CHROMEOS)
/* P sensor INT */
PAD_INT(GPIO_40, PULL_NONE, LEVEL_LOW, STATUS_DELIVERY),
#endif
/* LTE_RST_L */
PAD_GPO(GPIO_89, HIGH),
};