]> git.sur5r.net Git - u-boot/commitdiff
Fix at91 includes in soft_i2c driver
authorRyan Mallon <ryan@bluewatersys.com>
Wed, 26 Jan 2011 19:54:15 +0000 (08:54 +1300)
committerHeiko Schocher <hs@denx.de>
Thu, 27 Jan 2011 06:27:32 +0000 (07:27 +0100)
Make at91 header includes in soft_i2c depend only on CONFIG_AT91FAMILY
rather than individual SoCs.

Signed-off-by: Ryan Mallon <ryan@bluewatersys.com>
Acked-by: Reinhard Meyer<u-boot@emk-elektronik.de>
drivers/i2c/soft_i2c.c

index 1a1809ac16ad40c26d7b2dc26f900239af10030d..69b5f42205f427255344ad55913896d426774464 100644 (file)
@@ -30,9 +30,7 @@
 #include <ioports.h>
 #include <asm/io.h>
 #endif
-#if defined(CONFIG_AT91RM9200) || \
-       defined(CONFIG_AT91SAM9260) ||  defined(CONFIG_AT91SAM9261) || \
-       defined(CONFIG_AT91SAM9263)
+#if defined(CONFIG_AT91FAMILY)
 #include <asm/io.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/at91_pio.h>