summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 21:12:31 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:29:28 +0000
commite39db681dfd7c4127f1ac0e360e0930e72ef3ee3 (patch)
tree4f2e3ff9086fcc84047076e6125d14999cdb762d /src
parent27d02d8286aff64115ae593a189c38fdaf3ce769 (diff)
downloadcoreboot-e39db681dfd7c4127f1ac0e360e0930e72ef3ee3.tar.xz
src/mainboard: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>. So when <types.h> is included, <stdint.h> and/or <stddef.h> is removed. Change-Id: I3b1a395cfe8b710fb6b468e68f4c92e063794568 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32811 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/asus/kcma-d8/romstage.c2
-rw-r--r--src/mainboard/asus/kgpe-d16/romstage.c2
-rw-r--r--src/mainboard/cubietech/cubieboard/romstage.c2
-rw-r--r--src/mainboard/lenovo/t430s/variants/t430s/romstage.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/mainboard.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl1/mainboard.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl1/ptn3460.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl2/mainboard.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl4/ptn3460.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl5/mainboard.c1
-rw-r--r--src/mainboard/siemens/mc_apl1/variants/mc_apl5/ptn3460.c1
-rw-r--r--src/mainboard/siemens/mc_tcu3/ptn3460.c1
13 files changed, 13 insertions, 3 deletions
diff --git a/src/mainboard/asus/kcma-d8/romstage.c b/src/mainboard/asus/kcma-d8/romstage.c
index 5d43a54272..6c40627823 100644
--- a/src/mainboard/asus/kcma-d8/romstage.c
+++ b/src/mainboard/asus/kcma-d8/romstage.c
@@ -17,7 +17,6 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
#include <arch/io.h>
#include <device/pci_ops.h>
@@ -44,6 +43,7 @@
#include <cpu/amd/family_10h-family_15h/init_cpus.h>
#include <arch/early_variables.h>
#include <cbmem.h>
+#include <types.h>
#include "cpu/amd/quadcore/quadcore.c"
diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c
index f7d30bda98..d017b0616a 100644
--- a/src/mainboard/asus/kgpe-d16/romstage.c
+++ b/src/mainboard/asus/kgpe-d16/romstage.c
@@ -17,7 +17,6 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <device/pci_def.h>
#include <arch/io.h>
#include <device/mmio.h>
@@ -45,6 +44,7 @@
#include <cpu/amd/family_10h-family_15h/init_cpus.h>
#include <arch/early_variables.h>
#include <cbmem.h>
+#include <types.h>
#include "cpu/amd/quadcore/quadcore.c"
diff --git a/src/mainboard/cubietech/cubieboard/romstage.c b/src/mainboard/cubietech/cubieboard/romstage.c
index 21fa9b535f..bfb5e029d6 100644
--- a/src/mainboard/cubietech/cubieboard/romstage.c
+++ b/src/mainboard/cubietech/cubieboard/romstage.c
@@ -31,7 +31,7 @@
#include <device/device.h>
#include <drivers/xpowers/axp209/axp209.h>
#include <drivers/xpowers/axp209/chip.h>
-
+#include <types.h>
#define GPB_TWI0_FUNC 2
#define GPB_TWI0_PINS ((1 << 0) | (1 << 1))
diff --git a/src/mainboard/lenovo/t430s/variants/t430s/romstage.c b/src/mainboard/lenovo/t430s/variants/t430s/romstage.c
index e461681f19..5bc7b80961 100644
--- a/src/mainboard/lenovo/t430s/variants/t430s/romstage.c
+++ b/src/mainboard/lenovo/t430s/variants/t430s/romstage.c
@@ -22,6 +22,7 @@
#include <northbridge/intel/sandybridge/raminit_native.h>
#include <southbridge/intel/bd82x6x/pch.h>
#include <ec/lenovo/pmh7/pmh7.h>
+#include <types.h>
const struct southbridge_usb_port mainboard_usb_ports[] = {
{ 1, 0, 0 }, /* P0:, OC 0 */
diff --git a/src/mainboard/siemens/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/mainboard.c
index b39b6817f6..c931e1008a 100644
--- a/src/mainboard/siemens/mc_apl1/mainboard.c
+++ b/src/mainboard/siemens/mc_apl1/mainboard.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <timer.h>
#include <baseboard/variants.h>
+#include <types.h>
#define MAX_PATH_DEPTH 12
#define MAX_NUM_MAPPINGS 10
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/mainboard.c
index 6d22fd9826..df6fc21bde 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/mainboard.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/mainboard.c
@@ -25,6 +25,7 @@
#include <timer.h>
#include <timestamp.h>
#include <baseboard/variants.h>
+#include <types.h>
#include <variant/ptn3460.h>
#define TX_DWORD3 0xa8c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/ptn3460.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/ptn3460.c
index 060a35c0a8..c0770f3124 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/ptn3460.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/ptn3460.c
@@ -16,6 +16,7 @@
#include <console/console.h>
#include <hwilib.h>
#include <device/i2c_simple.h>
+#include <types.h>
#include <variant/ptn3460.h>
/**
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/mainboard.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/mainboard.c
index f52091bced..7890ee0211 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/mainboard.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/mainboard.c
@@ -24,6 +24,7 @@
#include <timestamp.h>
#include <baseboard/variants.h>
#include <soc/pci_devs.h>
+#include <types.h>
#define SD_CAP_BYP 0x810
#define SD_CAP_BYP_EN 0x5A
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c
index 3e2e7f0910..6a883c6a26 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl3/mainboard.c
@@ -28,6 +28,7 @@
#include <timer.h>
#include <timestamp.h>
#include <baseboard/variants.h>
+#include <types.h>
#define TX_DWORD3 0xa8c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/ptn3460.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/ptn3460.c
index 73d901935a..47763ae5d8 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/ptn3460.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/ptn3460.c
@@ -16,6 +16,7 @@
#include <console/console.h>
#include <hwilib.h>
#include <device/i2c_simple.h>
+#include <types.h>
#include <variant/ptn3460.h>
/*
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl5/mainboard.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl5/mainboard.c
index 9462497aa6..e1b56bda13 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl5/mainboard.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl5/mainboard.c
@@ -26,6 +26,7 @@
#include <timer.h>
#include <timestamp.h>
#include <baseboard/variants.h>
+#include <types.h>
#include <variant/ptn3460.h>
#define TX_DWORD3 0xa8c
diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl5/ptn3460.c b/src/mainboard/siemens/mc_apl1/variants/mc_apl5/ptn3460.c
index 060a35c0a8..c0770f3124 100644
--- a/src/mainboard/siemens/mc_apl1/variants/mc_apl5/ptn3460.c
+++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl5/ptn3460.c
@@ -16,6 +16,7 @@
#include <console/console.h>
#include <hwilib.h>
#include <device/i2c_simple.h>
+#include <types.h>
#include <variant/ptn3460.h>
/**
diff --git a/src/mainboard/siemens/mc_tcu3/ptn3460.c b/src/mainboard/siemens/mc_tcu3/ptn3460.c
index 9acc60a345..414baeb089 100644
--- a/src/mainboard/siemens/mc_tcu3/ptn3460.c
+++ b/src/mainboard/siemens/mc_tcu3/ptn3460.c
@@ -17,6 +17,7 @@
#include <hwilib.h>
#include <string.h>
#include <delay.h>
+#include <types.h>
#include "soc/i2c.h"
#include "ptn3460.h"