at91: Extended soft_i2c driver for AT91SAM9263 SoC
authorDaniel Gorsulowski <Daniel.Gorsulowski@esd.eu>
Mon, 18 May 2009 11:20:54 +0000 (13:20 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 23 Nov 2009 08:26:54 +0000 (09:26 +0100)
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>
drivers/i2c/soft_i2c.c

index 59883a58f674e96d696e98de6df2e9d13b630d1f..9a4878391674e924f9e3c1144392249cebd76984 100644 (file)
 #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