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

Reinhard Meyer u-boot at emk-elektronik.de
Tue Jan 25 05:23:42 CET 2011


Dear Ryan Mallon,
> Signed-off-by: Ryan Mallon<ryan at 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


More information about the U-Boot mailing list