Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/52305 )
Change subject: mb/google/kahlee: use defines for GEVENT numbers ......................................................................
mb/google/kahlee: use defines for GEVENT numbers
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I353f0d241391dd1122c85866a74984b95ed54770 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52305 Reviewed-by: Raul Rangel rrangel@chromium.org Reviewed-by: Marshall Dawson marshalldawson3rd@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h 1 file changed, 4 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified Marshall Dawson: Looks good to me, approved Raul Rangel: Looks good to me, approved
diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h index 8851072..3ee027c 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h +++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h @@ -4,6 +4,7 @@ #define __BASEBOARD_GPIO_H__
#ifndef __ACPI__ +#include <amdblocks/gpio_defs.h> #include <soc/gpio.h>
# define MEM_CONFIG0 GPIO_139 @@ -24,8 +25,8 @@ #endif /* _ACPI__ */
/* These define the GPE, not the GPIO. */ -#define EC_SCI_GPI 3 /* AGPIO 22 -> GPE 3 */ -#define EC_SMI_GPI 10 /* AGPIO 6 -> GPE 10 */ -#define EC_WAKE_GPI 15 /* AGPIO 24 -> GPE 15 */ +#define EC_SCI_GPI GEVENT_3 /* AGPIO 22 -> GPE 3 */ +#define EC_SMI_GPI GEVENT_10 /* AGPIO 6 -> GPE 10 */ +#define EC_WAKE_GPI GEVENT_15 /* AGPIO 24 -> GPE 15 */
#endif /* __BASEBOARD_GPIO_H__ */