summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/pi
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/pi
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/pi')
-rw-r--r--src/southbridge/amd/pi/hudson/hudson.c4
-rw-r--r--src/southbridge/amd/pi/hudson/lpc.c2
2 files changed, 4 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"