designware_i2c: remove inclusion of <asm/arch/hardware.h>
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Mon, 10 Feb 2014 08:20:12 +0000 (12:20 +0400)
committerHeiko Schocher <hs@denx.de>
Thu, 20 Feb 2014 05:49:09 +0000 (06:49 +0100)
As soon as all boards have their CONFIG_SYS_I2C_BASE defined in
configuration files instead of "asm/arch/hardware.h" it's safe to remove
the inclusion in question and make driver platform-independent.

Cc: Tom Rini <trini@ti.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Vipin Kumar <vipin.kumar@st.com>
Cc: Armando Visconti <armando.visconti@st.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
drivers/i2c/designware_i2c.c

index deea4f83cafabc8a2bdd39f9f66e59c14b461a68..c891ebd39e243ebc5540e7db6291ed88f7e84678 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <common.h>
 #include <asm/io.h>
-#include <asm/arch/hardware.h>
 #include "designware_i2c.h"
 
 #ifdef CONFIG_I2C_MULTI_BUS