mb/google/auron/var/buddy: Switch to Lynxpoint GPIO macros
Prepare to unify Lynxpoint LP and Broadwell GPIO code. Tested with BUILD_TIMELESS=1, Google Buddy remains identical. Change-Id: I6e6256a9cc88c9d0743150bfdf12b1b482fe157d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50070 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Patrick Georgi
parent
6259aeb86e
commit
d1ff7e43b5
@@ -127,6 +127,11 @@
|
||||
.owner = GPIO_OWNER_GPIO, \
|
||||
.pirq = GPIO_PIRQ_APIC_ROUTE }
|
||||
|
||||
#define LP_GPIO_PIRQ_INVERT \
|
||||
{ .conf0 = GPIO_MODE_GPIO | GPIO_DIR_INPUT | GPIO_INVERT, \
|
||||
.owner = GPIO_OWNER_GPIO, \
|
||||
.pirq = GPIO_PIRQ_APIC_ROUTE }
|
||||
|
||||
#define LP_GPIO_OUT_HIGH \
|
||||
{ .conf0 = GPIO_MODE_GPIO | GPIO_DIR_OUTPUT | GPO_LEVEL_HIGH, \
|
||||
.owner = GPIO_OWNER_GPIO, \
|
||||
|
Reference in New Issue
Block a user