summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/bilby
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/bilby
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/bilby')
-rw-r--r--src/mainboard/amd/bilby/early_gpio.c3
-rw-r--r--src/mainboard/amd/bilby/emmc_gpio.c2
-rw-r--r--src/mainboard/amd/bilby/gpio.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/amd/bilby/early_gpio.c b/src/mainboard/amd/bilby/early_gpio.c
index 466b4fc98d..1d35ab271e 100644
--- a/src/mainboard/amd/bilby/early_gpio.c
+++ b/src/mainboard/amd/bilby/early_gpio.c
@@ -1,5 +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/bilby/emmc_gpio.c b/src/mainboard/amd/bilby/emmc_gpio.c
index f72437b7ff..048b432a2a 100644
--- a/src/mainboard/amd/bilby/emmc_gpio.c
+++ b/src/mainboard/amd/bilby/emmc_gpio.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <soc/gpio.h>
+#include <gpio.h>
#include "gpio.h"
/* eMMC controller driving either an SD card or eMMC device. */
diff --git a/src/mainboard/amd/bilby/gpio.c b/src/mainboard/amd/bilby/gpio.c
index 18ee48280e..29774ea4d2 100644
--- a/src/mainboard/amd/bilby/gpio.c
+++ b/src/mainboard/amd/bilby/gpio.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <soc/gpio.h>
+#include <gpio.h>
#include "gpio.h"
/*