summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-10-29 06:56:52 +0100
committerNico Huber <nico.h@gmx.de>2018-10-30 09:41:08 +0000
commitdfbe6bd5c38d5feb6aa2778b2351cb13e0b1ecc8 (patch)
treebb12699462930eb270314a1db317a454cd7ff4c6 /src/mainboard
parentb06f8ddfe8c0e18f962f8b5507a40f4ef430ffc1 (diff)
downloadcoreboot-dfbe6bd5c38d5feb6aa2778b2351cb13e0b1ecc8.tar.xz
src: Add missing include <stdint.h>
Change-Id: I6a9d71e69ed9230b92f0f330875515a5df29fc06 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29312 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rambi/variants/banjo/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/candy/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/clapper/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/enguarde/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/glimmer/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/gnawty/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/heli/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/kip/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/ninja/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/orco/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/quawks/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/rambi/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/squawks/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/sumo/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/swanky/include/variant/variant.h2
-rw-r--r--src/mainboard/google/rambi/variants/winky/include/variant/variant.h2
-rw-r--r--src/mainboard/google/smaug/pmic.h2
-rw-r--r--src/mainboard/intel/harcuvar/spd/spd.h2
18 files changed, 36 insertions, 0 deletions
diff --git a/src/mainboard/google/rambi/variants/banjo/include/variant/variant.h b/src/mainboard/google/rambi/variants/banjo/include/variant/variant.h
index a0134c04a1..29b707c972 100644
--- a/src/mainboard/google/rambi/variants/banjo/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/banjo/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 2GiB total - 1 x 2GiB Samsung K4B4G1646Q-HYK0 1600MHz
diff --git a/src/mainboard/google/rambi/variants/candy/include/variant/variant.h b/src/mainboard/google/rambi/variants/candy/include/variant/variant.h
index fe4c475825..9dac2b9b5c 100644
--- a/src/mainboard/google/rambi/variants/candy/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/candy/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[3:0] are on GPIO_SSUS[40:37]
* 0b0000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/clapper/include/variant/variant.h b/src/mainboard/google/rambi/variants/clapper/include/variant/variant.h
index 38b156c776..0210b07564 100644
--- a/src/mainboard/google/rambi/variants/clapper/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/clapper/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/enguarde/include/variant/variant.h b/src/mainboard/google/rambi/variants/enguarde/include/variant/variant.h
index 08e75636d2..55c20a2952 100644
--- a/src/mainboard/google/rambi/variants/enguarde/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/enguarde/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/glimmer/include/variant/variant.h b/src/mainboard/google/rambi/variants/glimmer/include/variant/variant.h
index 59d5ee1f6d..28105518a4 100644
--- a/src/mainboard/google/rambi/variants/glimmer/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/glimmer/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b0000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/gnawty/include/variant/variant.h b/src/mainboard/google/rambi/variants/gnawty/include/variant/variant.h
index bd79c982ed..dd76bd31c8 100644
--- a/src/mainboard/google/rambi/variants/gnawty/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/gnawty/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Samsung K4B4G1646Q-HYK0 1600MHz
diff --git a/src/mainboard/google/rambi/variants/heli/include/variant/variant.h b/src/mainboard/google/rambi/variants/heli/include/variant/variant.h
index d25b9c9f21..a240e40fd4 100644
--- a/src/mainboard/google/rambi/variants/heli/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/heli/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[3:0] are on GPIO_SSUS[40:37]
* RAM_ID Vendor Vendor_PN Freq Size Total_size channel
diff --git a/src/mainboard/google/rambi/variants/kip/include/variant/variant.h b/src/mainboard/google/rambi/variants/kip/include/variant/variant.h
index 7f058d7ccb..06bcbec82e 100644
--- a/src/mainboard/google/rambi/variants/kip/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/kip/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/ninja/include/variant/variant.h b/src/mainboard/google/rambi/variants/ninja/include/variant/variant.h
index 8d2113c063..98f43a0586 100644
--- a/src/mainboard/google/rambi/variants/ninja/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/ninja/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/orco/include/variant/variant.h b/src/mainboard/google/rambi/variants/orco/include/variant/variant.h
index ab8116222a..eeaaf60ca1 100644
--- a/src/mainboard/google/rambi/variants/orco/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/orco/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/quawks/include/variant/variant.h b/src/mainboard/google/rambi/variants/quawks/include/variant/variant.h
index 2b80bf4602..f98beb20c1 100644
--- a/src/mainboard/google/rambi/variants/quawks/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/quawks/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Elpida EDJ4216EFBG-GNL-F 1600MHz
diff --git a/src/mainboard/google/rambi/variants/rambi/include/variant/variant.h b/src/mainboard/google/rambi/variants/rambi/include/variant/variant.h
index 44ae0cfb43..8051f1b7af 100644
--- a/src/mainboard/google/rambi/variants/rambi/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/rambi/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/squawks/include/variant/variant.h b/src/mainboard/google/rambi/variants/squawks/include/variant/variant.h
index 2b80bf4602..f98beb20c1 100644
--- a/src/mainboard/google/rambi/variants/squawks/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/squawks/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Elpida EDJ4216EFBG-GNL-F 1600MHz
diff --git a/src/mainboard/google/rambi/variants/sumo/include/variant/variant.h b/src/mainboard/google/rambi/variants/sumo/include/variant/variant.h
index 8d2113c063..98f43a0586 100644
--- a/src/mainboard/google/rambi/variants/sumo/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/sumo/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/rambi/variants/swanky/include/variant/variant.h b/src/mainboard/google/rambi/variants/swanky/include/variant/variant.h
index 483983bc34..0beee1cad6 100644
--- a/src/mainboard/google/rambi/variants/swanky/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/swanky/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 2GiB total - 1 x 2GiB Samsung K4B4G1646Q-HYK0 1600MHz
diff --git a/src/mainboard/google/rambi/variants/winky/include/variant/variant.h b/src/mainboard/google/rambi/variants/winky/include/variant/variant.h
index 6bf556965f..402270fc92 100644
--- a/src/mainboard/google/rambi/variants/winky/include/variant/variant.h
+++ b/src/mainboard/google/rambi/variants/winky/include/variant/variant.h
@@ -14,6 +14,8 @@
#ifndef VARIANT_H
#define VARIANT_H
+#include <stdint.h>
+
/*
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
* 0b000 - 4GiB total - 2 x 2GiB Micron MT41K256M16HA-125:E 1600MHz
diff --git a/src/mainboard/google/smaug/pmic.h b/src/mainboard/google/smaug/pmic.h
index 3567c7862c..e01a556948 100644
--- a/src/mainboard/google/smaug/pmic.h
+++ b/src/mainboard/google/smaug/pmic.h
@@ -17,6 +17,8 @@
#ifndef __MAINBOARD_GOOGLE_FOSTER_PMIC_H__
#define __MAINBOARD_GOOGLE_FOSTER_PMIC_H__
+#include <stdint.h>
+
#define MAX77620_SD0_REG 0x16
#define MAX77620_SD1_REG 0x17
#define MAX77620_SD2_REG 0x18
diff --git a/src/mainboard/intel/harcuvar/spd/spd.h b/src/mainboard/intel/harcuvar/spd/spd.h
index 13692d7433..9c0174f9d2 100644
--- a/src/mainboard/intel/harcuvar/spd/spd.h
+++ b/src/mainboard/intel/harcuvar/spd/spd.h
@@ -18,6 +18,8 @@
#ifndef MAINBOARD_SPD_H
#define MAINBOARD_SPD_H
+#include <stdint.h>
+
#define SPD_LEN 512
#define SPD_DRAM_TYPE 2