summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorMathew King <mathewk@chromium.org>2021-03-09 09:11:08 -0700
committerMartin Roth <martinroth@google.com>2021-03-10 23:05:27 +0000
commit729c61961c1eff3db3d9367810f47e182d19ead3 (patch)
treed4add15500681a612fb1c0c6f44a118d848fc3b2 /src/soc/amd
parent2f67b34e12ad40c9bf3e90e980be4c11365865ea (diff)
downloadcoreboot-729c61961c1eff3db3d9367810f47e182d19ead3.tar.xz
soc/amd/picasso: Allow GPIO defines to be used in ASL
BUG=b:182269526 TEST=builds Signed-off-by: Mathew King <mathewk@chromium.org> Change-Id: Ib33a46a6eead84eaff2c4ac320800b7993f5c3f6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/51383 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/picasso/include/soc/gpio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/include/soc/gpio.h b/src/soc/amd/picasso/include/soc/gpio.h
index 0f4507cd2e..70eaf9857f 100644
--- a/src/soc/amd/picasso/include/soc/gpio.h
+++ b/src/soc/amd/picasso/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 */
@@ -296,5 +299,4 @@
#define GPIO_2_EVENT GEVENT_8
-#endif /* __ACPI__ */
#endif /* AMD_PICASSO_GPIO_H */