public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] at91: Extended soft_i2c driver for AT91SAM9263 SoC
@ 2009-05-18 11:20 Daniel Gorsulowski
  2009-05-18 11:20 ` [U-Boot] [PATCH] at91: Add support for MEESC board of esd gmbh Daniel Gorsulowski
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Daniel Gorsulowski @ 2009-05-18 11:20 UTC (permalink / raw)
  To: u-boot

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 |    5 +++++
 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
-- 
1.6.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-11-23  8:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-18 11:20 [U-Boot] [PATCH] at91: Extended soft_i2c driver for AT91SAM9263 SoC Daniel Gorsulowski
2009-05-18 11:20 ` [U-Boot] [PATCH] at91: Add support for MEESC board of esd gmbh Daniel Gorsulowski
2009-05-23  0:01   ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-25  6:21     ` Daniel Gorsulowski
2009-05-25  8:13       ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-25  8:47         ` Wolfgang Denk
2009-05-25  9:09         ` Matthias Fuchs
2009-05-25 10:09           ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-25 10:59             ` Wolfgang Denk
2009-05-23  0:02 ` [U-Boot] [PATCH] at91: Extended soft_i2c driver for AT91SAM9263 SoC Jean-Christophe PLAGNIOL-VILLARD
2009-05-25  6:27   ` Daniel Gorsulowski
2009-11-22 20:14 ` Wolfgang Denk
2009-11-23  7:49   ` Heiko Schocher
2009-11-23  8:28   ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox