summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorMathew King <mathewk@chromium.org>2021-03-05 07:08:12 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-03-08 21:14:07 +0000
commitd58877887a552321ca8272574ca7d551740bcf3a (patch)
tree452075606f8319f678b518bbb140eef9e69233ca /src/soc
parent5e8e483051a46e77ada42767b5433f012626e933 (diff)
soc/amd/cezanne: Allow GPIO defines to be used in ASL
BUG=b:180507937 TEST=builds Signed-off-by: Mathew King <mathewk@chromium.org> Change-Id: Ic29fa569899e7b77819ce7f72c6a748621684c40 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51290 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/cezanne/include/soc/gpio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/amd/cezanne/include/soc/gpio.h b/src/soc/amd/cezanne/include/soc/gpio.h
index a97eee8d4d..9da6162290 100644
--- a/src/soc/amd/cezanne/include/soc/gpio.h
+++ b/src/soc/amd/cezanne/include/soc/gpio.h
@@ -9,6 +9,9 @@
#ifndef __ACPI__
#include <soc/iomap.h>
#include <amdblocks/gpio_banks.h>
+#endif /* !__ACPI__ */
+
+#include <amdblocks/gpio_defs.h>
/* The following sections describe only the GPIOs defined for this SOC */
@@ -281,5 +284,4 @@
#define GPIO_2_EVENT GEVENT_8
-#endif /* !__ACPI__ */
#endif /* AMD_CEZANNE_GPIO_H */