diff mbox

[U-Boot,1/3] Add AT91SAM9G20 to list of AT91 processors in soft_i2c driver.

Message ID 3407d3e0912e6291bce466d4dcb3fe42475492b2.1295919847.git.ryan@bluewatersys.com
State Superseded
Delegated to: Reinhard Meyer
Headers show

Commit Message

Ryan Mallon Jan. 25, 2011, 1:57 a.m. UTC
Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
---
 drivers/i2c/soft_i2c.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Reinhard Meyer Jan. 25, 2011, 4:23 a.m. UTC | #1
Dear Ryan Mallon,
> Signed-off-by: Ryan Mallon<ryan@bluewatersys.com>
> ---
>   drivers/i2c/soft_i2c.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
> index 1a1809a..0a21d02 100644
> --- a/drivers/i2c/soft_i2c.c
> +++ b/drivers/i2c/soft_i2c.c
> @@ -32,7 +32,7 @@
>   #endif
>   #if defined(CONFIG_AT91RM9200) || \
>   	defined(CONFIG_AT91SAM9260) ||  defined(CONFIG_AT91SAM9261) || \
> -	defined(CONFIG_AT91SAM9263)
> +	defined(CONFIG_AT91SAM9263) ||  defined(CONFIG_AT91SAM9G20)

Please replace those individual AT91SAM9* SoC names by a simple
#if defined(CONFIG_AT91FAMILY) || defined(CONFIG_AT91RM9200)
Sorry that this list has escaped detection so far.
*RM9200 is still needed extra, because it has not yet become a member
of AT91FAMILY.

Best Regards,
Reinhard
diff mbox

Patch

diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
index 1a1809a..0a21d02 100644
--- a/drivers/i2c/soft_i2c.c
+++ b/drivers/i2c/soft_i2c.c
@@ -32,7 +32,7 @@ 
 #endif
 #if defined(CONFIG_AT91RM9200) || \
 	defined(CONFIG_AT91SAM9260) ||  defined(CONFIG_AT91SAM9261) || \
-	defined(CONFIG_AT91SAM9263)
+	defined(CONFIG_AT91SAM9263) ||  defined(CONFIG_AT91SAM9G20)
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pio.h>