summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-01 11:29:50 +0100
committerNico Huber <nico.h@gmx.de>2018-11-01 11:25:07 +0000
commitc4e41937150beab78ba5d492b7b22799d20a0ee4 (patch)
treef8248eb3b2988bc5d3384b96f87bb848f6876134 /src/soc
parent1956a00953d8eac277b0eb508fcfe60c8f4e1141 (diff)
src: Add missing include <stdint.h>
Change-Id: Idf10a09745756887a517da4c26db7a90a1bf9543 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29403 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/broadcom/cygnus/include/soc/tz.h2
-rw-r--r--src/soc/cavium/cn81xx/include/soc/cpu.h2
-rw-r--r--src/soc/cavium/common/include/soc/bootblock.h2
-rw-r--r--src/soc/intel/apollolake/include/soc/usb.h2
-rw-r--r--src/soc/intel/broadwell/chip.h2
-rw-r--r--src/soc/intel/cannonlake/include/soc/ebda.h2
-rw-r--r--src/soc/intel/denverton_ns/chip.h2
-rw-r--r--src/soc/intel/icelake/include/soc/ebda.h2
-rw-r--r--src/soc/intel/quark/include/soc/i2c.h2
-rw-r--r--src/soc/intel/skylake/include/soc/ebda.h2
-rw-r--r--src/soc/nvidia/tegra210/include/soc/flow_ctrl.h2
-rw-r--r--src/soc/qualcomm/ipq806x/include/soc/ebi2.h2
12 files changed, 24 insertions, 0 deletions
diff --git a/src/soc/broadcom/cygnus/include/soc/tz.h b/src/soc/broadcom/cygnus/include/soc/tz.h
index a6777fda41..1d5d234e29 100644
--- a/src/soc/broadcom/cygnus/include/soc/tz.h
+++ b/src/soc/broadcom/cygnus/include/soc/tz.h
@@ -14,6 +14,8 @@
#ifndef __SOC_BROADCOM_CYGNUS_TZ_H__
#define __SOC_BROADCOM_CYGNUS_TZ_H__
+#include <stdint.h>
+
#define TZ_STATE_SECURE 0
#define TZ_STATE_NON_SECURE 1
diff --git a/src/soc/cavium/cn81xx/include/soc/cpu.h b/src/soc/cavium/cn81xx/include/soc/cpu.h
index b2472d78e3..1c6a30dda9 100644
--- a/src/soc/cavium/cn81xx/include/soc/cpu.h
+++ b/src/soc/cavium/cn81xx/include/soc/cpu.h
@@ -17,6 +17,8 @@
#ifndef __SOC_CAVIUM_CN81XX_CPU_H__
#define __SOC_CAVIUM_CN81XX_CPU_H__
+#include <stdint.h>
+
/**
* Number of the Core on which the program is currently running.
*
diff --git a/src/soc/cavium/common/include/soc/bootblock.h b/src/soc/cavium/common/include/soc/bootblock.h
index 76fd4a158d..1df444fad2 100644
--- a/src/soc/cavium/common/include/soc/bootblock.h
+++ b/src/soc/cavium/common/include/soc/bootblock.h
@@ -16,6 +16,8 @@
#ifndef SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_BOOTBLOCK_H_
#define SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_BOOTBLOCK_H_
+#include <stdint.h>
+
void bootblock_mainboard_early_init(void);
void bootblock_soc_early_init(void);
void bootblock_soc_init(void);
diff --git a/src/soc/intel/apollolake/include/soc/usb.h b/src/soc/intel/apollolake/include/soc/usb.h
index 7220023199..7dd9ec089a 100644
--- a/src/soc/intel/apollolake/include/soc/usb.h
+++ b/src/soc/intel/apollolake/include/soc/usb.h
@@ -18,6 +18,8 @@
#ifndef _SOC_APOLLOLAKE_USB_H_
#define _SOC_APOLLOLAKE_USB_H_
+#include <stdint.h>
+
#define APOLLOLAKE_USB2_PORT_MAX 8
struct usb2_eye_per_port {
diff --git a/src/soc/intel/broadwell/chip.h b/src/soc/intel/broadwell/chip.h
index 46c2c1d8ba..0885c2dd5b 100644
--- a/src/soc/intel/broadwell/chip.h
+++ b/src/soc/intel/broadwell/chip.h
@@ -17,6 +17,8 @@
#ifndef _SOC_INTEL_BROADWELL_CHIP_H_
#define _SOC_INTEL_BROADWELL_CHIP_H_
+#include <stdint.h>
+
struct soc_intel_broadwell_config {
/*
* Interrupt Routing configuration
diff --git a/src/soc/intel/cannonlake/include/soc/ebda.h b/src/soc/intel/cannonlake/include/soc/ebda.h
index 15a9d28a91..ad62394588 100644
--- a/src/soc/intel/cannonlake/include/soc/ebda.h
+++ b/src/soc/intel/cannonlake/include/soc/ebda.h
@@ -16,6 +16,8 @@
#ifndef SOC_EBDA_H
#define SOC_EBDA_H
+#include <stdint.h>
+
struct ebda_config {
uint32_t signature; /* 0x00 - EBDA signature */
uint32_t tolum_base; /* 0x04 - coreboot memory start */
diff --git a/src/soc/intel/denverton_ns/chip.h b/src/soc/intel/denverton_ns/chip.h
index bfa6a0132f..f2a67dd9f9 100644
--- a/src/soc/intel/denverton_ns/chip.h
+++ b/src/soc/intel/denverton_ns/chip.h
@@ -17,6 +17,8 @@
#ifndef SOC_INTEL_DENVERTON_NS_CHIP_H
#define SOC_INTEL_DENVERTON_NS_CHIP_H
+#include <stdint.h>
+
struct soc_intel_denverton_ns_config {
/**
* Interrupt Routing configuration
diff --git a/src/soc/intel/icelake/include/soc/ebda.h b/src/soc/intel/icelake/include/soc/ebda.h
index 9c44a50831..f4d89e993d 100644
--- a/src/soc/intel/icelake/include/soc/ebda.h
+++ b/src/soc/intel/icelake/include/soc/ebda.h
@@ -16,6 +16,8 @@
#ifndef SOC_EBDA_H
#define SOC_EBDA_H
+#include <stdint.h>
+
struct ebda_config {
uint32_t signature; /* 0x00 - EBDA signature */
uint32_t tolum_base; /* 0x04 - coreboot memory start */
diff --git a/src/soc/intel/quark/include/soc/i2c.h b/src/soc/intel/quark/include/soc/i2c.h
index 85ae7b9e3e..f3c585f737 100644
--- a/src/soc/intel/quark/include/soc/i2c.h
+++ b/src/soc/intel/quark/include/soc/i2c.h
@@ -16,6 +16,8 @@
#ifndef _QUARK_I2C_H_
#define _QUARK_I2C_H_
+#include <stdint.h>
+
typedef volatile struct _I2C_REGS {
volatile uint32_t ic_con; /* 00: Control Register */
volatile uint32_t ic_tar; /* 04: Master Target Address */
diff --git a/src/soc/intel/skylake/include/soc/ebda.h b/src/soc/intel/skylake/include/soc/ebda.h
index 15a9d28a91..ad62394588 100644
--- a/src/soc/intel/skylake/include/soc/ebda.h
+++ b/src/soc/intel/skylake/include/soc/ebda.h
@@ -16,6 +16,8 @@
#ifndef SOC_EBDA_H
#define SOC_EBDA_H
+#include <stdint.h>
+
struct ebda_config {
uint32_t signature; /* 0x00 - EBDA signature */
uint32_t tolum_base; /* 0x04 - coreboot memory start */
diff --git a/src/soc/nvidia/tegra210/include/soc/flow_ctrl.h b/src/soc/nvidia/tegra210/include/soc/flow_ctrl.h
index 2dd1f9f3b1..602c75c5fe 100644
--- a/src/soc/nvidia/tegra210/include/soc/flow_ctrl.h
+++ b/src/soc/nvidia/tegra210/include/soc/flow_ctrl.h
@@ -16,6 +16,8 @@
#ifndef _TEGRA210_FLOW_CTRL_H_
#define _TEGRA210_FLOW_CTRL_H_
+#include <stdint.h>
+
void flowctrl_cpu_off(int cpu);
void flowctrl_cpu_on(int cpu);
void flowctrl_cpu_suspend(int cpu);
diff --git a/src/soc/qualcomm/ipq806x/include/soc/ebi2.h b/src/soc/qualcomm/ipq806x/include/soc/ebi2.h
index 3e99c3bd26..5dcd9b858f 100644
--- a/src/soc/qualcomm/ipq806x/include/soc/ebi2.h
+++ b/src/soc/qualcomm/ipq806x/include/soc/ebi2.h
@@ -19,6 +19,8 @@
#ifndef __SOC_QUALCOMM_IPQ806X_EBI2_H_
#define __SOC_QUALCOMM_IPQ806X_EBI2_H_
+#include <stdint.h>
+
#define EBI2CR_BASE (0x1A600000)
struct ebi2cr_regs {