soc/amd/common/block/gpio_defs: Wake from either S0i3 or S3
Add a helper bit mask to enable wake from either S0i3 or S3. BUG=None TEST=Build the Guyrbush mainboard. Change-Id: I934abad78135260081a61aee4c496b362e483de1 Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51745 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
640f549eac
commit
e3f816c7bb
|
@ -130,6 +130,7 @@
|
|||
#define GPIO_WAKE_S0i3 (1 << 13)
|
||||
#define GPIO_WAKE_S3 (1 << 14)
|
||||
#define GPIO_WAKE_S4_S5 (1 << 15)
|
||||
#define GPIO_WAKE_S0i3_S3 (GPIO_WAKE_S0i3 | GPIO_WAKE_S3)
|
||||
#define GPIO_WAKE_S0i3_S4_S5 (GPIO_WAKE_S0i3 | GPIO_WAKE_S4_S5)
|
||||
#define GPIO_WAKE_S3_S4_S5 (GPIO_WAKE_S3 | GPIO_WAKE_S4_S5)
|
||||
#define GPIO_WAKE_MASK (7 << 13)
|
||||
|
|
Loading…
Reference in New Issue