summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-31 12:27:23 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-04 01:01:53 +0000
commitd1bf9bfe060f0643aec0be89dc7268a9025647fb (patch)
tree0eb9f8eb53bc69a0ff51948482ab7e9417317db6 /src
parentd222d1add8ba262afeb42918d3af8b8628711015 (diff)
soc/intel/skylake: Clean up includes
Change-Id: I505ef39487b2677993423e5952b54e008e24fcc5 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69028 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/skylake/bootblock/bootblock.c2
-rw-r--r--src/soc/intel/skylake/nhlt/da7219.c1
-rw-r--r--src/soc/intel/skylake/nhlt/dmic.c1
-rw-r--r--src/soc/intel/skylake/nhlt/max98357.c1
-rw-r--r--src/soc/intel/skylake/nhlt/max98373.c1
-rw-r--r--src/soc/intel/skylake/nhlt/max98927.c1
-rw-r--r--src/soc/intel/skylake/nhlt/nau88l25.c1
-rw-r--r--src/soc/intel/skylake/nhlt/rt5514.c1
-rw-r--r--src/soc/intel/skylake/nhlt/rt5663.c1
-rw-r--r--src/soc/intel/skylake/nhlt/ssm4567.c1
-rw-r--r--src/soc/intel/skylake/p2sb.c1
-rw-r--r--src/soc/intel/skylake/sd.c4
12 files changed, 16 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/bootblock/bootblock.c b/src/soc/intel/skylake/bootblock/bootblock.c
index 276bb48b95..4b31f77e9d 100644
--- a/src/soc/intel/skylake/bootblock/bootblock.c
+++ b/src/soc/intel/skylake/bootblock/bootblock.c
@@ -1,11 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
+#include <cpu/cpu.h>
#include <intelblocks/fast_spi.h>
#include <intelblocks/systemagent.h>
#include <intelblocks/tco.h>
#include <intelblocks/uart.h>
#include <soc/bootblock.h>
+#include <stdint.h>
asmlinkage void bootblock_c_entry(uint64_t base_timestamp)
{
diff --git a/src/soc/intel/skylake/nhlt/da7219.c b/src/soc/intel/skylake/nhlt/da7219.c
index 20855e2bd0..984c68fd41 100644
--- a/src/soc/intel/skylake/nhlt/da7219.c
+++ b/src/soc/intel/skylake/nhlt/da7219.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
+#include <commonlib/bsd/helpers.h>
#include <nhlt.h>
#include <soc/nhlt.h>
diff --git a/src/soc/intel/skylake/nhlt/dmic.c b/src/soc/intel/skylake/nhlt/dmic.c
index b8802a6b2c..717af10936 100644
--- a/src/soc/intel/skylake/nhlt/dmic.c
+++ b/src/soc/intel/skylake/nhlt/dmic.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <soc/nhlt.h>
static const struct nhlt_format_config dmic_1ch_formats[] = {
diff --git a/src/soc/intel/skylake/nhlt/max98357.c b/src/soc/intel/skylake/nhlt/max98357.c
index 6b4314e866..7ce234023e 100644
--- a/src/soc/intel/skylake/nhlt/max98357.c
+++ b/src/soc/intel/skylake/nhlt/max98357.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <soc/nhlt.h>
static const struct nhlt_format_config max98357_render_formats[] = {
diff --git a/src/soc/intel/skylake/nhlt/max98373.c b/src/soc/intel/skylake/nhlt/max98373.c
index 306ff5cc1e..f072f36935 100644
--- a/src/soc/intel/skylake/nhlt/max98373.c
+++ b/src/soc/intel/skylake/nhlt/max98373.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <soc/nhlt.h>
static const struct nhlt_format_config max98373_render_formats[] = {
diff --git a/src/soc/intel/skylake/nhlt/max98927.c b/src/soc/intel/skylake/nhlt/max98927.c
index ec35228184..77b8faf87f 100644
--- a/src/soc/intel/skylake/nhlt/max98927.c
+++ b/src/soc/intel/skylake/nhlt/max98927.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <soc/nhlt.h>
static const struct nhlt_format_config max98927_render_formats[] = {
diff --git a/src/soc/intel/skylake/nhlt/nau88l25.c b/src/soc/intel/skylake/nhlt/nau88l25.c
index 1ac0f6f85c..7633238665 100644
--- a/src/soc/intel/skylake/nhlt/nau88l25.c
+++ b/src/soc/intel/skylake/nhlt/nau88l25.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <soc/nhlt.h>
/* The same DSP firmware settings are used for both the capture and
diff --git a/src/soc/intel/skylake/nhlt/rt5514.c b/src/soc/intel/skylake/nhlt/rt5514.c
index bc886e1c56..35adccaa39 100644
--- a/src/soc/intel/skylake/nhlt/rt5514.c
+++ b/src/soc/intel/skylake/nhlt/rt5514.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <soc/nhlt.h>
static const struct nhlt_format_config rt5514_4ch_formats[] = {
diff --git a/src/soc/intel/skylake/nhlt/rt5663.c b/src/soc/intel/skylake/nhlt/rt5663.c
index ecc2550ec7..d33b566a35 100644
--- a/src/soc/intel/skylake/nhlt/rt5663.c
+++ b/src/soc/intel/skylake/nhlt/rt5663.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <soc/nhlt.h>
/*
diff --git a/src/soc/intel/skylake/nhlt/ssm4567.c b/src/soc/intel/skylake/nhlt/ssm4567.c
index cbaf9e0095..1fd2b1ed3e 100644
--- a/src/soc/intel/skylake/nhlt/ssm4567.c
+++ b/src/soc/intel/skylake/nhlt/ssm4567.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include <soc/nhlt.h>
static const struct nhlt_format_config ssm4567_render_formats[] = {
diff --git a/src/soc/intel/skylake/p2sb.c b/src/soc/intel/skylake/p2sb.c
index 30e54a23f8..7921db25d9 100644
--- a/src/soc/intel/skylake/p2sb.c
+++ b/src/soc/intel/skylake/p2sb.c
@@ -2,6 +2,7 @@
#include <console/console.h>
#include <intelblocks/p2sb.h>
+#include <types.h>
void p2sb_soc_get_sb_mask(uint32_t *ep_mask, size_t count)
{
diff --git a/src/soc/intel/skylake/sd.c b/src/soc/intel/skylake/sd.c
index 46d385256b..cfe4b8cd31 100644
--- a/src/soc/intel/skylake/sd.c
+++ b/src/soc/intel/skylake/sd.c
@@ -1,6 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <acpi/acpi_device.h>
+#include <device/device.h>
#include <intelblocks/sd.h>
+#include <stdint.h>
+
#include "chip.h"
int sd_fill_soc_gpio_info(struct acpi_gpio *gpio, const struct device *dev)