summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/mayan
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-01-30 20:02:03 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-01-31 04:03:33 +0000
commit9aebc19182971deb5dbade7b5e0c5e1f62ac718b (patch)
tree09c7a790ec131049ee0f3c74a31f0f4b2a32e10d /src/mainboard/amd/mayan
parent0b31428de0adf06e23bede24cb10b50a4d04faaa (diff)
mb/amd: Include <gpio.h> instead of <soc/gpio.h>
<gpio.h> chain-include <soc/gpio.h>. Change-Id: I48191064fcee53ca843a537aa36bdbbd57736bf2 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72588 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/amd/mayan')
-rw-r--r--src/mainboard/amd/mayan/early_gpio.c2
-rw-r--r--src/mainboard/amd/mayan/gpio.c2
-rw-r--r--src/mainboard/amd/mayan/port_descriptors.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/amd/mayan/early_gpio.c b/src/mainboard/amd/mayan/early_gpio.c
index 19b1066290..dbda552d34 100644
--- a/src/mainboard/amd/mayan/early_gpio.c
+++ b/src/mainboard/amd/mayan/early_gpio.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <soc/gpio.h>
+#include <gpio.h>
#include "gpio.h"
/* GPIO pins used by coreboot should be initialized in bootblock */
diff --git a/src/mainboard/amd/mayan/gpio.c b/src/mainboard/amd/mayan/gpio.c
index 2245e3bac4..b6b3a8552e 100644
--- a/src/mainboard/amd/mayan/gpio.c
+++ b/src/mainboard/amd/mayan/gpio.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <soc/gpio.h>
+#include <gpio.h>
#include "gpio.h"
/*
diff --git a/src/mainboard/amd/mayan/port_descriptors.c b/src/mainboard/amd/mayan/port_descriptors.c
index 151ad141ad..f52abcd143 100644
--- a/src/mainboard/amd/mayan/port_descriptors.c
+++ b/src/mainboard/amd/mayan/port_descriptors.c
@@ -2,7 +2,7 @@
#include <console/console.h>
#include <device/i2c_simple.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/platform_descriptors.h>
#include <types.h>