[U-Boot] [PATCH v1 17/25] i2c: mvtwsi: Add support for Marvell Armada XP

Stefan Roese sr at denx.de
Fri Jun 27 11:55:03 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>
Cc: Heiko Schocher <hs at denx.de>
---

 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 4a49291..7cbf109 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>
 #else
 #error Driver mvtwsi not supported by SoC or board
-- 
2.0.1



More information about the U-Boot mailing list