summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRyan Mallon <ryan@bluewatersys.com>2011-01-27 08:54:15 +1300
committerHeiko Schocher <hs@denx.de>2011-01-27 07:27:32 +0100
commitf3100ff767c210b01a0b4595b376b9289550b37f (patch)
treefa2f017d29121001398f80cb91d0069508536be4 /drivers
parent8aba9dceebb14144e07d19593111ee3a999c37fc (diff)
downloadblackbird-obmc-uboot-f3100ff767c210b01a0b4595b376b9289550b37f.tar.gz
blackbird-obmc-uboot-f3100ff767c210b01a0b4595b376b9289550b37f.zip
Fix at91 includes in soft_i2c driver
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/soft_i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/soft_i2c.c b/drivers/i2c/soft_i2c.c
index 1a1809ac16..69b5f42205 100644
--- a/drivers/i2c/soft_i2c.c
+++ b/drivers/i2c/soft_i2c.c
@@ -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>
OpenPOWER on IntegriCloud