summaryrefslogtreecommitdiff
path: root/src/cpu/allwinner
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/allwinner')
-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))