diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-04-13 23:09:11 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-04-15 23:39:58 +0000 |
commit | 045a42a34ee632ec2300f5e2ac4a31b75351b194 (patch) | |
tree | ace8ac7146413dec8d4432d47681b4b95f055c52 /src | |
parent | 445dd85bf944c9568009c5f91e0629f0cb1a3aa5 (diff) | |
download | coreboot-045a42a34ee632ec2300f5e2ac4a31b75351b194.tar.gz coreboot-045a42a34ee632ec2300f5e2ac4a31b75351b194.tar.bz2 coreboot-045a42a34ee632ec2300f5e2ac4a31b75351b194.zip |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 88510722c20e..3ee027c4e496 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__ */ |