summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
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/amd
parent51401c30509d189d07a8a94958bdecdfd8b7667d (diff)
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/amd')
-rw-r--r--src/southbridge/amd/pi/hudson/hudson.c4
-rw-r--r--src/southbridge/amd/pi/hudson/lpc.c2
-rw-r--r--src/southbridge/amd/sb700/ide.c2
-rw-r--r--src/southbridge/amd/sb700/sata.c2
-rw-r--r--src/southbridge/amd/sb700/usb.c2
5 files changed, 10 insertions, 2 deletions
diff --git a/src/southbridge/amd/pi/hudson/hudson.c b/src/southbridge/amd/pi/hudson/hudson.c
index e1ea2ce4b3..a331c57262 100644
--- a/src/southbridge/amd/pi/hudson/hudson.c
+++ b/src/southbridge/amd/pi/hudson/hudson.c
@@ -14,16 +14,16 @@
*/
#include <console/console.h>
-
#include <arch/io.h>
#include <device/mmio.h>
#include <arch/acpi.h>
-
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
+#include <types.h>
+
#include "hudson.h"
#include "smbus.h"
#include "smi.h"
diff --git a/src/southbridge/amd/pi/hudson/lpc.c b/src/southbridge/amd/pi/hudson/lpc.c
index abb92f29d2..5354a27822 100644
--- a/src/southbridge/amd/pi/hudson/lpc.c
+++ b/src/southbridge/amd/pi/hudson/lpc.c
@@ -27,6 +27,8 @@
#include <arch/acpi.h>
#include <pc80/i8254.h>
#include <pc80/i8259.h>
+#include <types.h>
+
#include "hudson.h"
#include "pci_devs.h"
diff --git a/src/southbridge/amd/sb700/ide.c b/src/southbridge/amd/sb700/ide.c
index 673464318c..0b11db3c86 100644
--- a/src/southbridge/amd/sb700/ide.c
+++ b/src/southbridge/amd/sb700/ide.c
@@ -19,6 +19,8 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <option.h>
+#include <types.h>
+
#include "sb700.h"
static void ide_init(struct device *dev)
diff --git a/src/southbridge/amd/sb700/sata.c b/src/southbridge/amd/sb700/sata.c
index 39aef639d2..292a7f2c9e 100644
--- a/src/southbridge/amd/sb700/sata.c
+++ b/src/southbridge/amd/sb700/sata.c
@@ -23,6 +23,8 @@
#include <arch/io.h>
#include <device/mmio.h>
#include <option.h>
+#include <types.h>
+
#include "sb700.h"
static int sata_drive_detect(int portnum, uint16_t iobar)
diff --git a/src/southbridge/amd/sb700/usb.c b/src/southbridge/amd/sb700/usb.c
index da653112d7..4109e88cc3 100644
--- a/src/southbridge/amd/sb700/usb.c
+++ b/src/southbridge/amd/sb700/usb.c
@@ -21,6 +21,8 @@
#include <device/pci_ehci.h>
#include <device/mmio.h>
#include <option.h>
+#include <types.h>
+
#include "sb700.h"
static struct pci_operations lops_pci = {