summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2011-02-10 00:30:04 +0000
committerTom Rini <trini@ti.com>2012-12-11 13:17:29 -0700
commiteabd5d8d70ecf7072ac5b7aef2fe239553346dac (patch)
tree455c91b474f128460be0ca578c6c9f25219ff4a9
parentee7c0fc7643c73c65f0054584f6c681baac62c80 (diff)
downloadu-boot-imx-eabd5d8d70ecf7072ac5b7aef2fe239553346dac.zip
u-boot-imx-eabd5d8d70ecf7072ac5b7aef2fe239553346dac.tar.gz
u-boot-imx-eabd5d8d70ecf7072ac5b7aef2fe239553346dac.tar.bz2
soft_i2c: add necessary includes for AVR32
Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
-rw-r--r--drivers/i2c/soft_i2c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
index 1595c07..ae3c573 100644
--- a/drivers/i2c/soft_i2c.c
+++ b/drivers/i2c/soft_i2c.c
@@ -30,6 +30,9 @@
#include <ioports.h>
#include <asm/io.h>
#endif
+#if defined(CONFIG_AVR32)
+#include <asm/arch/portmux.h>
+#endif
#if defined(CONFIG_AT91FAMILY)
#include <asm/io.h>
#include <asm/arch/hardware.h>