summaryrefslogtreecommitdiff
path: root/src/soc/amd/mendocino
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-14 05:46:25 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-01-18 05:13:30 +0000
commit5e2602ae4817eba77e7893ab41681fd0a74f6558 (patch)
tree990fa6affaa16115a7f5d20aea437a712f0a1fb8 /src/soc/amd/mendocino
parent8f2e5c90e44c6d846a6367bb4051818fdcd577ea (diff)
soc/amd: Include <gpio.h> instead of <soc/gpio.h>
<gpio.h> chain-include <soc/gpio.h>. Change-Id: I112e41ad4c7ee638954dfe3f1ddfeb10c138459a Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71807 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/mendocino')
-rw-r--r--src/soc/amd/mendocino/gpio.c2
-rw-r--r--src/soc/amd/mendocino/include/soc/i2c.h2
-rw-r--r--src/soc/amd/mendocino/uart.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/mendocino/gpio.c b/src/soc/amd/mendocino/gpio.c
index 74eecadcce..271e749b92 100644
--- a/src/soc/amd/mendocino/gpio.c
+++ b/src/soc/amd/mendocino/gpio.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/gpio.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <types.h>
/* see the IOMUX function table for the mapping from GPIO number to GEVENT number */
diff --git a/src/soc/amd/mendocino/include/soc/i2c.h b/src/soc/amd/mendocino/include/soc/i2c.h
index c691267615..468347fffa 100644
--- a/src/soc/amd/mendocino/include/soc/i2c.h
+++ b/src/soc/amd/mendocino/include/soc/i2c.h
@@ -3,7 +3,7 @@
#ifndef AMD_MENDOCINO_I2C_H
#define AMD_MENDOCINO_I2C_H
-#include <soc/gpio.h>
+#include <gpio.h>
#include <types.h>
#define GPIO_I2C0_SCL BIT(0)
diff --git a/src/soc/amd/mendocino/uart.c b/src/soc/amd/mendocino/uart.c
index 03fc593624..1d3c82928f 100644
--- a/src/soc/amd/mendocino/uart.c
+++ b/src/soc/amd/mendocino/uart.c
@@ -4,8 +4,8 @@
#include <amdblocks/uart.h>
#include <commonlib/helpers.h>
#include <device/mmio.h>
+#include <gpio.h>
#include <soc/aoac_defs.h>
-#include <soc/gpio.h>
#include <soc/iomap.h>
#include <soc/southbridge.h>
#include <soc/uart.h>