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>
diff --git a/src/mainboard/siemens/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/mainboard.c
index b39b681..c931e10 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 6d22fd9..df6fc21 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 060a35c..c0770f3 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 f52091b..7890ee0 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 3e2e7f0..6a883c6 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 73d9019..47763ae 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 9462497..e1b56bd 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 060a35c..c0770f3 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 9acc60a..414baeb 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"