mb/google/brya: Create rull variant
[coreboot2.git] / src / mainboard / google / peach_pit / wakeup.c
blob1c302f0a676bc813cbccd3a428dfd8720dfcffbe
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <soc/gpio.h>
4 #include <soc/wakeup.h>
6 int wakeup_need_reset(void)
8 /* The "wake up" event is not reliable (known as "bad wakeup") and needs
9 * reset if the TPM reset mask GPIO value is high. */
10 return gpio_get_value(GPIO_X06);