summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-06-04 11:12:57 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-06-11 14:42:20 +0000
commit6a673d46eefe78c5c5698aa395238b746edf37eb (patch)
treebcb983c9c99e066fc7f698e463138de2d349852a
parent05bb053e6356b30bfa2ae27d0b38e592e4c58111 (diff)
soc/amd/genoa_poc: Prefer include <soc/gpio.h> via <gpio.h>
Change-Id: I0e5fba7db7d97835001934cb140f4c76bdc46d3e Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82889 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/soc/amd/genoa_poc/gpio.c2
-rw-r--r--src/soc/amd/genoa_poc/uart.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/genoa_poc/gpio.c b/src/soc/amd/genoa_poc/gpio.c
index 52cf272285..c38719bf3f 100644
--- a/src/soc/amd/genoa_poc/gpio.c
+++ b/src/soc/amd/genoa_poc/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/genoa_poc/uart.c b/src/soc/amd/genoa_poc/uart.c
index df8c54f700..19f7746bc8 100644
--- a/src/soc/amd/genoa_poc/uart.c
+++ b/src/soc/amd/genoa_poc/uart.c
@@ -5,7 +5,7 @@
#include <amdblocks/uart.h>
#include <commonlib/helpers.h>
#include <soc/aoac_defs.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/iomap.h>
#include <soc/southbridge.h>
#include <soc/uart.h>