summaryrefslogtreecommitdiff
path: root/src/northbridge/intel/i945
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/i945
parent5fd93e05820d742fac5dbc1b371b464a88bb9043 (diff)
downloadcoreboot-51401c30509d189d07a8a94958bdecdfd8b7667d.tar.xz
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/i945')
-rw-r--r--src/northbridge/intel/i945/early_init.c5
-rw-r--r--src/northbridge/intel/i945/gma.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/src/northbridge/intel/i945/early_init.c b/src/northbridge/intel/i945/early_init.c
index 84d9c105d6..f9167dfc97 100644
--- a/src/northbridge/intel/i945/early_init.c
+++ b/src/northbridge/intel/i945/early_init.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-#include <stdint.h>
#include <stdlib.h>
#include <cf9_reset.h>
#include <console/console.h>
@@ -22,9 +21,11 @@
#include <device/pci_def.h>
#include <cbmem.h>
#include <romstage_handoff.h>
-#include "i945.h"
#include <pc80/mc146818rtc.h>
#include <southbridge/intel/common/gpio.h>
+#include <types.h>
+
+#include "i945.h"
int i945_silicon_revision(void)
{
diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index 1d20533a48..54ff47cc64 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -33,6 +33,7 @@
#include <commonlib/helpers.h>
#include <cbmem.h>
#include <southbridge/intel/i82801gx/nvs.h>
+#include <types.h>
#include "i945.h"
#include "chip.h"