summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/gardenia
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/gardenia
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/gardenia')
-rw-r--r--src/mainboard/amd/gardenia/bootblock/bootblock.c2
-rw-r--r--src/mainboard/amd/gardenia/gpio.c2
-rw-r--r--src/mainboard/amd/gardenia/gpio.h2
-rw-r--r--src/mainboard/amd/gardenia/mainboard.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/amd/gardenia/bootblock/bootblock.c b/src/mainboard/amd/gardenia/bootblock/bootblock.c
index 0543c31ec2..1c4d9e07ab 100644
--- a/src/mainboard/amd/gardenia/bootblock/bootblock.c
+++ b/src/mainboard/amd/gardenia/bootblock/bootblock.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/southbridge.h>
#include "../gpio.h"
diff --git a/src/mainboard/amd/gardenia/gpio.c b/src/mainboard/amd/gardenia/gpio.c
index 38e1d44c81..127b3dde32 100644
--- a/src/mainboard/amd/gardenia/gpio.c
+++ b/src/mainboard/amd/gardenia/gpio.c
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <gpio.h>
#include <soc/southbridge.h>
-#include <soc/gpio.h>
#include "gpio.h"
diff --git a/src/mainboard/amd/gardenia/gpio.h b/src/mainboard/amd/gardenia/gpio.h
index d01bdfd112..72098c01b2 100644
--- a/src/mainboard/amd/gardenia/gpio.h
+++ b/src/mainboard/amd/gardenia/gpio.h
@@ -3,7 +3,7 @@
#ifndef MAINBOARD_GPIO_H
#define MAINBOARD_GPIO_H
-#include <soc/gpio.h>
+#include <gpio.h>
const struct soc_amd_gpio *early_gpio_table(size_t *size);
const struct soc_amd_gpio *gpio_table(size_t *size);
diff --git a/src/mainboard/amd/gardenia/mainboard.c b/src/mainboard/amd/gardenia/mainboard.c
index ad95617512..39f16972ec 100644
--- a/src/mainboard/amd/gardenia/mainboard.c
+++ b/src/mainboard/amd/gardenia/mainboard.c
@@ -3,7 +3,7 @@
#include <device/device.h>
#include <amdblocks/agesawrapper.h>
#include <amdblocks/amd_pci_util.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/southbridge.h>
#include "gpio.h"