summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-09-20 21:15:13 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-21 20:22:54 +0000
commit16ae682cb93764016c6b31ef3761c011733ad683 (patch)
tree160960b63e57226da2414949939ed2e94854078a /src/soc/amd
parent6c3ad1341f3532e0ac4c20d6e7a049a53ee1c724 (diff)
soc/amd/common/block/gpio_banks: add missing types.h include
In this file bool, uint8_t and uint32_t are used, so include types.h directly to have those types defined instead of relying to have those included indirectly via amdblocks/gpio_banks.h. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I6f4626a50219fab818e8bc5087961a731b44e71b Reviewed-on: https://review.coreboot.org/c/coreboot/+/57788 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/block/gpio_banks/gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/gpio_banks/gpio.c b/src/soc/amd/common/block/gpio_banks/gpio.c
index eb38ec1f1e..fa18f612d1 100644
--- a/src/soc/amd/common/block/gpio_banks/gpio.c
+++ b/src/soc/amd/common/block/gpio_banks/gpio.c
@@ -14,6 +14,7 @@
#include <soc/smi.h>
#include <assert.h>
#include <string.h>
+#include <types.h>
/*
* acpimmio_gpio0, acpimmio_remote_gpio and acpimmio_iomux are defined in