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 <tr...@ti.com> Cc: Heiko Schocher <h...@denx.de> Cc: Stefan Roese <s...@denx.de> Cc: Vipin Kumar <vipin.ku...@st.com> Cc: Armando Visconti <armando.visco...@st.com> Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> --- drivers/i2c/designware_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 9ed9295..5a78a36 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -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 -- 1.8.5.3 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot