[U-Boot] [PATCH v4 12/20] i2c: mvtwsi: Add support for Marvell Armada XP

Stefan Roese sr at denx.de
Wed Oct 22 12:13:16 CEST 2014


To support the Armada XP SoC, we just need to include the correct header.

Signed-off-by: Stefan Roese <sr at denx.de>
Acked-by: Heiko Schocher <hs at denx.de>
Tested-by: Luka Perkov <luka at openwrt.org>

---

Changes in v4: None
Changes in v3:
- Added Tested-by from Luka
- Added Acked-by from Heiko

Changes in v2: None

 drivers/i2c/mvtwsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/mvtwsi.c b/drivers/i2c/mvtwsi.c
index a2deae6..9b2ca1e 100644
--- a/drivers/i2c/mvtwsi.c
+++ b/drivers/i2c/mvtwsi.c
@@ -20,7 +20,7 @@
 
 #if defined(CONFIG_ORION5X)
 #include <asm/arch/orion5x.h>
-#elif defined(CONFIG_KIRKWOOD)
+#elif (defined(CONFIG_KIRKWOOD) || defined(CONFIG_ARMADA_XP))
 #include <asm/arch/soc.h>
 #elif defined(CONFIG_SUNXI)
 #include <asm/arch/i2c.h>
-- 
2.1.2



More information about the U-Boot mailing list