From: Wolfgang Denk Date: Sun, 22 Nov 2009 21:14:44 +0100 Subject: [U-Boot] [PATCH] at91: Extended soft_i2c driver for AT91SAM9263 SoC In-Reply-To: <1242645655326-git-send-email-Daniel.Gorsulowski@esd.eu> References: <1242645655326-git-send-email-Daniel.Gorsulowski@esd.eu> Message-ID: <20091122201444.AA13EE34A27@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heiko, In message <1242645655326-git-send-email-Daniel.Gorsulowski@esd.eu> Daniel Gorsulowski wrote: > 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 > --- > 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 > #include > #endif > +#ifdef CONFIG_AT91SAM9263 /* only valid for AT91SAM9263 */ > +#include > +#include > +#include > +#endif > #ifdef CONFIG_IXP425 /* only valid for IXP425 */ > #include > #endif > -- Is there a specific reason this was not applied yet? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de It would be illogical to kill without reason -- Spock, "Journey to Babel", stardate 3842.4