summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/stoneyridge
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-01-10 22:27:29 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-13 18:08:14 +0000
commitd8bcad594fc142e2ba374e04e311653bd664a803 (patch)
tree04cc6fb33ee0250d05cb6f2a3dffce511e01ecbf /src/soc/amd/stoneyridge
parent577afe62c9c7b736f1f54ee4f0bd622885ce7d9d (diff)
downloadcoreboot-d8bcad594fc142e2ba374e04e311653bd664a803.tar.gz
coreboot-d8bcad594fc142e2ba374e04e311653bd664a803.tar.bz2
coreboot-d8bcad594fc142e2ba374e04e311653bd664a803.zip
soc/amd/*/chip.h: add missing gpio.h include
Since we need the GPIO defines in the devicetree settings, include gpio.h in each SoC's chip.h file which will indirectly include the soc-specific soc/gpio.h header instead of having it indirectly included via soc/i2c.h. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Id26721a6b8ae94784d4a90d7ccac28fef2be36dd Reviewed-on: https://review.coreboot.org/c/coreboot/+/60977 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r--src/soc/amd/stoneyridge/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/chip.h b/src/soc/amd/stoneyridge/chip.h
index b870baeb88bb..bee82af4cee2 100644
--- a/src/soc/amd/stoneyridge/chip.h
+++ b/src/soc/amd/stoneyridge/chip.h
@@ -7,6 +7,7 @@
#include <stdint.h>
#include <commonlib/helpers.h>
#include <drivers/i2c/designware/dw_i2c.h>
+#include <gpio.h>
#include <soc/i2c.h>
#include <acpi/acpi_device.h>