summaryrefslogtreecommitdiffstats
path: root/src/mainboard
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-12-17 18:51:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-12-20 09:50:36 +0000
commit1a811bcb3bdff68a5bc27d17557108f4259af93b (patch)
tree85a2bf3dd8e2de158c171e5112cf1c24e99c565a /src/mainboard
parent6ebb3b60a451b094376ddeff1c3b7b405190f62d (diff)
downloadcoreboot-1a811bcb3bdff68a5bc27d17557108f4259af93b.tar.gz
coreboot-1a811bcb3bdff68a5bc27d17557108f4259af93b.tar.bz2
coreboot-1a811bcb3bdff68a5bc27d17557108f4259af93b.zip
mb/amd/gardenia,padmelon;mb/google/kahlee: add missing soc/gpio includes
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ie716633bd7602d5e4a7e186aa9e444b7f70dab56 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60197 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/amd/gardenia/bootblock/bootblock.c1
-rw-r--r--src/mainboard/amd/gardenia/gpio.h2
-rw-r--r--src/mainboard/amd/gardenia/mainboard.c1
-rw-r--r--src/mainboard/amd/padmelon/bootblock/bootblock.c1
-rw-r--r--src/mainboard/amd/padmelon/gpio.c1
-rw-r--r--src/mainboard/amd/padmelon/mainboard.c1
-rw-r--r--src/mainboard/google/kahlee/mainboard.c1
7 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/amd/gardenia/bootblock/bootblock.c b/src/mainboard/amd/gardenia/bootblock/bootblock.c
index a480f362ed4f..0543c31ec20c 100644
--- a/src/mainboard/amd/gardenia/bootblock/bootblock.c
+++ b/src/mainboard/amd/gardenia/bootblock/bootblock.c
@@ -1,6 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
+#include <soc/gpio.h>
#include <soc/southbridge.h>
#include "../gpio.h"
diff --git a/src/mainboard/amd/gardenia/gpio.h b/src/mainboard/amd/gardenia/gpio.h
index 3e9500dbe8e4..d01bdfd11267 100644
--- a/src/mainboard/amd/gardenia/gpio.h
+++ b/src/mainboard/amd/gardenia/gpio.h
@@ -3,6 +3,8 @@
#ifndef MAINBOARD_GPIO_H
#define MAINBOARD_GPIO_H
+#include <soc/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 ae72b33e43fd..459aeba8e8be 100644
--- a/src/mainboard/amd/gardenia/mainboard.c
+++ b/src/mainboard/amd/gardenia/mainboard.c
@@ -4,6 +4,7 @@
#include <device/device.h>
#include <amdblocks/agesawrapper.h>
#include <amdblocks/amd_pci_util.h>
+#include <soc/gpio.h>
#include <soc/southbridge.h>
#include "gpio.h"
diff --git a/src/mainboard/amd/padmelon/bootblock/bootblock.c b/src/mainboard/amd/padmelon/bootblock/bootblock.c
index c93ef52582de..f1b6822f8b5c 100644
--- a/src/mainboard/amd/padmelon/bootblock/bootblock.c
+++ b/src/mainboard/amd/padmelon/bootblock/bootblock.c
@@ -4,6 +4,7 @@
#include <soc/southbridge.h>
#include <amdblocks/lpc.h>
#include <device/pci_ops.h>
+#include <soc/gpio.h>
#include <soc/pci_devs.h>
#include <drivers/uart/uart8250reg.h>
#include <arch/io.h>
diff --git a/src/mainboard/amd/padmelon/gpio.c b/src/mainboard/amd/padmelon/gpio.c
index 9c18d30a230e..0de2c0a1904f 100644
--- a/src/mainboard/amd/padmelon/gpio.c
+++ b/src/mainboard/amd/padmelon/gpio.c
@@ -2,6 +2,7 @@
#include <amdblocks/agesawrapper.h>
#include <amdblocks/BiosCallOuts.h>
+#include <soc/gpio.h>
#include <soc/southbridge.h>
#include "gpio.h"
diff --git a/src/mainboard/amd/padmelon/mainboard.c b/src/mainboard/amd/padmelon/mainboard.c
index 51b0f90c41dc..017a1fbdc0cb 100644
--- a/src/mainboard/amd/padmelon/mainboard.c
+++ b/src/mainboard/amd/padmelon/mainboard.c
@@ -5,6 +5,7 @@
#include <acpi/acpi.h>
#include <amdblocks/agesawrapper.h>
#include <amdblocks/amd_pci_util.h>
+#include <soc/gpio.h>
#include <soc/pci_devs.h>
#include <soc/southbridge.h>
diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c
index ffec6a5396bd..e54ac742bfb9 100644
--- a/src/mainboard/google/kahlee/mainboard.c
+++ b/src/mainboard/google/kahlee/mainboard.c
@@ -11,6 +11,7 @@
#include <baseboard/variants.h>
#include <boardid.h>
#include <smbios.h>
+#include <soc/gpio.h>
#include <soc/pci_devs.h>
#include <soc/southbridge.h>
#include <amdblocks/acpimmio.h>