Commit f3100ff7 authored by Ryan Mallon's avatar Ryan Mallon Committed by Heiko Schocher
Browse files

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: default avatarRyan Mallon <ryan@bluewatersys.com>
Acked-by: Reinhard Meyer<u-boot@emk-elektronik.de>
parent 8aba9dce
...@@ -30,9 +30,7 @@ ...@@ -30,9 +30,7 @@
#include <ioports.h> #include <ioports.h>
#include <asm/io.h> #include <asm/io.h>
#endif #endif
#if defined(CONFIG_AT91RM9200) || \ #if defined(CONFIG_AT91FAMILY)
defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9261) || \
defined(CONFIG_AT91SAM9263)
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/hardware.h> #include <asm/arch/hardware.h>
#include <asm/arch/at91_pio.h> #include <asm/arch/at91_pio.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment