summaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 21:10:44 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:28:41 +0000
commitab89edbccf6e614213bbd88f5dbd5c8bf9a5d4c6 (patch)
tree0bedd57bb42a9191d07947cfb072b1dda44b5a8e /src/southbridge/intel
parent51401c30509d189d07a8a94958bdecdfd8b7667d (diff)
downloadcoreboot-ab89edbccf6e614213bbd88f5dbd5c8bf9a5d4c6.tar.xz
src/southbridge: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>. When <types.h> is included, <stdint.h> and/or <stddef.h> is removed. Change-Id: I4d8628e4ce3c7f80da2590b4cad618b290e0d513 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32809 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/bd82x6x/sata.c4
-rw-r--r--src/southbridge/intel/common/smbus.c2
-rw-r--r--src/southbridge/intel/i82801ix/sata.c4
-rw-r--r--src/southbridge/intel/i82801jx/sata.c4
-rw-r--r--src/southbridge/intel/ibexpeak/sata.c4
5 files changed, 14 insertions, 4 deletions
diff --git a/src/southbridge/intel/bd82x6x/sata.c b/src/southbridge/intel/bd82x6x/sata.c
index 91c87bf26e..6a39873e7b 100644
--- a/src/southbridge/intel/bd82x6x/sata.c
+++ b/src/southbridge/intel/bd82x6x/sata.c
@@ -20,9 +20,11 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include "pch.h"
#include <pc80/mc146818rtc.h>
#include <acpi/sata.h>
+#include <types.h>
+
+#include "pch.h"
typedef struct southbridge_intel_bd82x6x_config config_t;
diff --git a/src/southbridge/intel/common/smbus.c b/src/southbridge/intel/common/smbus.c
index 4b08c48f27..af1eb602a0 100644
--- a/src/southbridge/intel/common/smbus.c
+++ b/src/southbridge/intel/common/smbus.c
@@ -19,6 +19,8 @@
#include <console/console.h>
#include <device/smbus_def.h>
#include <stdlib.h>
+#include <types.h>
+
#include "smbus.h"
diff --git a/src/southbridge/intel/i82801ix/sata.c b/src/southbridge/intel/i82801ix/sata.c
index 6155c15006..49d2d36b85 100644
--- a/src/southbridge/intel/i82801ix/sata.c
+++ b/src/southbridge/intel/i82801ix/sata.c
@@ -22,8 +22,10 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include "i82801ix.h"
#include <pc80/mc146818rtc.h>
+#include <types.h>
+
+#include "i82801ix.h"
typedef struct southbridge_intel_i82801ix_config config_t;
diff --git a/src/southbridge/intel/i82801jx/sata.c b/src/southbridge/intel/i82801jx/sata.c
index 8de2d7427d..ddaa783868 100644
--- a/src/southbridge/intel/i82801jx/sata.c
+++ b/src/southbridge/intel/i82801jx/sata.c
@@ -22,8 +22,10 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include "i82801jx.h"
#include <pc80/mc146818rtc.h>
+#include <types.h>
+
+#include "i82801jx.h"
typedef struct southbridge_intel_i82801jx_config config_t;
diff --git a/src/southbridge/intel/ibexpeak/sata.c b/src/southbridge/intel/ibexpeak/sata.c
index 112445bb65..e03f8b5884 100644
--- a/src/southbridge/intel/ibexpeak/sata.c
+++ b/src/southbridge/intel/ibexpeak/sata.c
@@ -21,9 +21,11 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
-#include "pch.h"
#include <pc80/mc146818rtc.h>
#include <acpi/sata.h>
+#include <types.h>
+
+#include "pch.h"
typedef struct southbridge_intel_ibexpeak_config config_t;