summaryrefslogtreecommitdiff
path: root/src/cpu/allwinner/a10
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-15 21:01:02 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-29 20:27:18 +0000
commitb12ece98b09dd88634d93bcb41ca5c4cb9d86364 (patch)
tree520078bbb8f80a2e5715f8efcdddbda8159cf201 /src/cpu/allwinner/a10
parent62c0b61bed96df60967d2980d9ee4e4b3f0461b0 (diff)
downloadcoreboot-b12ece98b09dd88634d93bcb41ca5c4cb9d86364.tar.xz
src/{include,arch,cpu,lib}: Add missing 'include <types.h>'
<types.h> is supposed to provide <stdint.h> and <stddef.h>. So when <types.h> is included, <stdint.h> and/or <stddef.h> is removed. Change-Id: I57aead27806e307b9827fc7ee2cd663f12ee6e5e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31892 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Diffstat (limited to 'src/cpu/allwinner/a10')
-rw-r--r--src/cpu/allwinner/a10/twi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cpu/allwinner/a10/twi.c b/src/cpu/allwinner/a10/twi.c
index 6e7f9e214a..01ee5a5c6f 100644
--- a/src/cpu/allwinner/a10/twi.c
+++ b/src/cpu/allwinner/a10/twi.c
@@ -20,12 +20,13 @@
* Largely based on the uboot-sunxi code.
*/
-#include "memmap.h"
-#include "twi.h"
-
#include <device/mmio.h>
#include <delay.h>
#include <device/i2c_simple.h>
+#include <types.h>
+
+#include "memmap.h"
+#include "twi.h"
#define TWI_BASE(n) (A1X_TWI0_BASE + 0x400 * (n))