summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdfam10
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 21:09:30 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:28:27 +0000
commit51401c30509d189d07a8a94958bdecdfd8b7667d (patch)
tree97f7829ad4d84e19a069f93be56b369abb933e8d /src/northbridge/amd/amdfam10
parent5fd93e05820d742fac5dbc1b371b464a88bb9043 (diff)
src/northbridge: 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: Iad5367bed844b866b2ad87639eee29a16d9a99ed Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32808 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/northbridge/amd/amdfam10')
-rw-r--r--src/northbridge/amd/amdfam10/link_control.c1
-rw-r--r--src/northbridge/amd/amdfam10/misc_control.c1
-rw-r--r--src/northbridge/amd/amdfam10/northbridge.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdfam10/link_control.c b/src/northbridge/amd/amdfam10/link_control.c
index 871a4366c2..384772374b 100644
--- a/src/northbridge/amd/amdfam10/link_control.c
+++ b/src/northbridge/amd/amdfam10/link_control.c
@@ -25,6 +25,7 @@
#include <device/pci_ops.h>
#include <pc80/mc146818rtc.h>
#include <cpu/amd/model_10xxx_rev.h>
+#include <types.h>
#include "amdfam10.h"
diff --git a/src/northbridge/amd/amdfam10/misc_control.c b/src/northbridge/amd/amdfam10/misc_control.c
index bbaec53887..b0a1ab679a 100644
--- a/src/northbridge/amd/amdfam10/misc_control.c
+++ b/src/northbridge/amd/amdfam10/misc_control.c
@@ -32,6 +32,7 @@
#include <lib.h>
#include <cbmem.h>
#include <cpu/amd/model_10xxx_rev.h>
+#include <types.h>
#include "amdfam10.h"
diff --git a/src/northbridge/amd/amdfam10/northbridge.c b/src/northbridge/amd/amdfam10/northbridge.c
index 1d071c1877..a681961be2 100644
--- a/src/northbridge/amd/amdfam10/northbridge.c
+++ b/src/northbridge/amd/amdfam10/northbridge.c
@@ -34,6 +34,7 @@
#include <cpu/amd/amdfam10_sysconf.h>
#include <cpu/amd/msr.h>
#include <cpu/amd/family_10h-family_15h/ram_calc.h>
+#include <types.h>
#if CONFIG(LOGICAL_CPUS)
#include <cpu/amd/multicore.h>