summaryrefslogtreecommitdiffstats
path: root/src/northbridge/intel/sandybridge/early_init.c
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/intel/sandybridge/early_init.c
parent5fd93e05820d742fac5dbc1b371b464a88bb9043 (diff)
downloadcoreboot-51401c30509d189d07a8a94958bdecdfd8b7667d.tar.gz
coreboot-51401c30509d189d07a8a94958bdecdfd8b7667d.tar.bz2
coreboot-51401c30509d189d07a8a94958bdecdfd8b7667d.zip
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/intel/sandybridge/early_init.c')
-rw-r--r--src/northbridge/intel/sandybridge/early_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/northbridge/intel/sandybridge/early_init.c b/src/northbridge/intel/sandybridge/early_init.c
index 34aec3851b6a..fd3d34f2dee5 100644
--- a/src/northbridge/intel/sandybridge/early_init.c
+++ b/src/northbridge/intel/sandybridge/early_init.c
@@ -14,7 +14,6 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <stdlib.h>
#include <console/console.h>
#include <arch/io.h>
@@ -22,6 +21,8 @@
#include <device/pci_def.h>
#include <pc80/mc146818rtc.h>
#include <romstage_handoff.h>
+#include <types.h>
+
#include "sandybridge.h"
static void sandybridge_setup_bars(void)