summaryrefslogtreecommitdiffstats
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)
downloadcoreboot-d1bf9bfe060f0643aec0be89dc7268a9025647fb.tar.gz
coreboot-d1bf9bfe060f0643aec0be89dc7268a9025647fb.tar.bz2
coreboot-d1bf9bfe060f0643aec0be89dc7268a9025647fb.zip
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 276bb48b950a..4b31f77e9d36 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 20855e2bd0ac..984c68fd4185 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 b8802a6b2c2d..717af1093649 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 6b4314e8660f..7ce234023e3d 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 306ff5cc1ec3..f072f369355c 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 ec352281849f..77b8faf87fdf 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 1ac0f6f85cf9..763323866510 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 bc886e1c56ce..35adccaa3966 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 ecc2550ec787..d33b566a3565 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 cbaf9e00953a..1fd2b1ed3e16 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 30e54a23f87a..7921db25d94e 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 46d385256b41..cfe4b8cd3102 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)