summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-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
-rw-r--r--src/mainboard/amd/birman/early_gpio.c2
-rw-r--r--src/mainboard/amd/birman/gpio.c2
-rw-r--r--src/mainboard/amd/birman/port_descriptors.c2
-rw-r--r--src/mainboard/amd/chausie/early_gpio.c2
-rw-r--r--src/mainboard/amd/chausie/gpio.c2
-rw-r--r--src/mainboard/amd/chausie/port_descriptors.c2
-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
-rw-r--r--src/mainboard/amd/majolica/early_gpio.c2
-rw-r--r--src/mainboard/amd/majolica/port_descriptors.c2
-rw-r--r--src/mainboard/amd/mandolin/emmc_gpio.c2
-rw-r--r--src/mainboard/amd/mandolin/variants/cereme/early_gpio.c2
-rw-r--r--src/mainboard/amd/mandolin/variants/cereme/gpio.c2
-rw-r--r--src/mainboard/amd/mandolin/variants/mandolin/early_gpio.c2
-rw-r--r--src/mainboard/amd/mandolin/variants/mandolin/gpio.c2
-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
-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
27 files changed, 28 insertions, 27 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"
/*
diff --git a/src/mainboard/amd/birman/early_gpio.c b/src/mainboard/amd/birman/early_gpio.c
index a337e1ed4d..9089f6ab04 100644
--- a/src/mainboard/amd/birman/early_gpio.c
+++ b/src/mainboard/amd/birman/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/birman/gpio.c b/src/mainboard/amd/birman/gpio.c
index d70fefd23b..74d929dbf1 100644
--- a/src/mainboard/amd/birman/gpio.c
+++ b/src/mainboard/amd/birman/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/birman/port_descriptors.c b/src/mainboard/amd/birman/port_descriptors.c
index f2ed5c54fe..35dcf651e5 100644
--- a/src/mainboard/amd/birman/port_descriptors.c
+++ b/src/mainboard/amd/birman/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>
diff --git a/src/mainboard/amd/chausie/early_gpio.c b/src/mainboard/amd/chausie/early_gpio.c
index 0929c7b8d1..75a3a8e52e 100644
--- a/src/mainboard/amd/chausie/early_gpio.c
+++ b/src/mainboard/amd/chausie/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/chausie/gpio.c b/src/mainboard/amd/chausie/gpio.c
index 4411bea294..f496472f89 100644
--- a/src/mainboard/amd/chausie/gpio.c
+++ b/src/mainboard/amd/chausie/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/chausie/port_descriptors.c b/src/mainboard/amd/chausie/port_descriptors.c
index b10abfa4d2..3105cf0c60 100644
--- a/src/mainboard/amd/chausie/port_descriptors.c
+++ b/src/mainboard/amd/chausie/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>
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"
diff --git a/src/mainboard/amd/majolica/early_gpio.c b/src/mainboard/amd/majolica/early_gpio.c
index cd5028a2c9..c555b09a9d 100644
--- a/src/mainboard/amd/majolica/early_gpio.c
+++ b/src/mainboard/amd/majolica/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/majolica/port_descriptors.c b/src/mainboard/amd/majolica/port_descriptors.c
index 47c9d584db..322169871d 100644
--- a/src/mainboard/amd/majolica/port_descriptors.c
+++ b/src/mainboard/amd/majolica/port_descriptors.c
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <soc/gpio.h>
+#include <gpio.h>
#include <soc/platform_descriptors.h>
#include <types.h>
#include <amdblocks/cpu.h>
diff --git a/src/mainboard/amd/mandolin/emmc_gpio.c b/src/mainboard/amd/mandolin/emmc_gpio.c
index f72437b7ff..048b432a2a 100644
--- a/src/mainboard/amd/mandolin/emmc_gpio.c
+++ b/src/mainboard/amd/mandolin/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/mandolin/variants/cereme/early_gpio.c b/src/mainboard/amd/mandolin/variants/cereme/early_gpio.c
index 66d81ed494..d43c84e067 100644
--- a/src/mainboard/amd/mandolin/variants/cereme/early_gpio.c
+++ b/src/mainboard/amd/mandolin/variants/cereme/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/mandolin/variants/cereme/gpio.c b/src/mainboard/amd/mandolin/variants/cereme/gpio.c
index 0ac02d9ba9..e3aad5f5c9 100644
--- a/src/mainboard/amd/mandolin/variants/cereme/gpio.c
+++ b/src/mainboard/amd/mandolin/variants/cereme/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/mandolin/variants/mandolin/early_gpio.c b/src/mainboard/amd/mandolin/variants/mandolin/early_gpio.c
index 75cdb1041a..6a92abfac9 100644
--- a/src/mainboard/amd/mandolin/variants/mandolin/early_gpio.c
+++ b/src/mainboard/amd/mandolin/variants/mandolin/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/mandolin/variants/mandolin/gpio.c b/src/mainboard/amd/mandolin/variants/mandolin/gpio.c
index f341750e46..87bbaa14a4 100644
--- a/src/mainboard/amd/mandolin/variants/mandolin/gpio.c
+++ b/src/mainboard/amd/mandolin/variants/mandolin/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/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>
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>