summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorDaniel Gorsulowski <Daniel.Gorsulowski@esd.eu>2009-05-18 13:20:54 +0200
committerHeiko Schocher <hs@denx.de>2009-11-23 09:26:54 +0100
commit4e574c4e2d3776d9db62dca4ca3c73be1574af43 (patch)
tree63eff2a5c306026fe4df653d406f7be8d845f7a6 /drivers/i2c
parent396fd17338b9bf1f84f494ec1860427e18868ede (diff)
downloadu-boot-imx-4e574c4e2d3776d9db62dca4ca3c73be1574af43.zip
u-boot-imx-4e574c4e2d3776d9db62dca4ca3c73be1574af43.tar.gz
u-boot-imx-4e574c4e2d3776d9db62dca4ca3c73be1574af43.tar.bz2
at91: Extended soft_i2c driver for AT91SAM9263 SoC
While hard_i2c support is not available (see http://lists.denx.de/pipermail/u-boot/2009-March/049751.html), this patch enables soft_i2c on AT91SAM9263 SoC. Signed-off-by: Daniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/soft_i2c.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
index 59883a5..9a48783 100644
--- a/drivers/i2c/soft_i2c.c
+++ b/drivers/i2c/soft_i2c.c
@@ -34,6 +34,11 @@
#include <asm/io.h>
#include <asm/arch/hardware.h>
#endif
+#ifdef CONFIG_AT91SAM9263 /* only valid for AT91SAM9263 */
+#include <asm/arch/at91_pmc.h>
+#include <asm/arch/gpio.h>
+#include <asm/arch/io.h>
+#endif
#ifdef CONFIG_IXP425 /* only valid for IXP425 */
#include <asm/arch/ixp425.h>
#endif