[U-Boot] [PATCH 2/3] designware_i2c: remove inclusion of <asm/arch/hardware.h>
Alexey Brodkin
Alexey.Brodkin at synopsys.com
Mon Feb 10 09:20:12 CET 2014
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 at ti.com>
Cc: Heiko Schocher <hs at denx.de>
Cc: Stefan Roese <sr at denx.de>
Cc: Vipin Kumar <vipin.kumar at st.com>
Cc: Armando Visconti <armando.visconti at st.com>
Signed-off-by: Alexey Brodkin <abrodkin at 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
More information about the U-Boot
mailing list