summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/pademelon
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/pademelon
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/pademelon')
-rw-r--r--src/mainboard/amd/pademelon/bootblock/bootblock.c2
-rw-r--r--src/mainboard/amd/pademelon/gpio.c2
-rw-r--r--src/mainboard/amd/pademelon/gpio.h2
-rw-r--r--src/mainboard/amd/pademelon/mainboard.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/amd/pademelon/bootblock/bootblock.c b/src/mainboard/amd/pademelon/bootblock/bootblock.c
index 4b28e208c9..3356e7e591 100644
--- a/src/mainboard/amd/pademelon/bootblock/bootblock.c
+++ b/src/mainboard/amd/pademelon/bootblock/bootblock.c
@@ -4,7 +4,7 @@
#include <soc/southbridge.h>
#include <amdblocks/lpc.h>
#include <device/pci_ops.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/pci_devs.h>
#include <drivers/uart/uart8250reg.h>
#include <arch/io.h>
diff --git a/src/mainboard/amd/pademelon/gpio.c b/src/mainboard/amd/pademelon/gpio.c
index 0de2c0a190..6731085f88 100644
--- a/src/mainboard/amd/pademelon/gpio.c
+++ b/src/mainboard/amd/pademelon/gpio.c
@@ -2,7 +2,7 @@
#include <amdblocks/agesawrapper.h>
#include <amdblocks/BiosCallOuts.h>
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/southbridge.h>
#include "gpio.h"
diff --git a/src/mainboard/amd/pademelon/gpio.h b/src/mainboard/amd/pademelon/gpio.h
index d01bdfd112..72098c01b2 100644
--- a/src/mainboard/amd/pademelon/gpio.h
+++ b/src/mainboard/amd/pademelon/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/pademelon/mainboard.c b/src/mainboard/amd/pademelon/mainboard.c
index 12f0443196..d10de260b1 100644
--- a/src/mainboard/amd/pademelon/mainboard.c
+++ b/src/mainboard/amd/pademelon/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/pci_devs.h>
#include <soc/southbridge.h>