]> git.sur5r.net Git - u-boot/commitdiff
i2c: mvtwsi: Add support for Marvell Armada XP
authorStefan Roese <sr@denx.de>
Wed, 22 Oct 2014 10:13:16 +0000 (12:13 +0200)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 13:59:21 +0000 (09:59 -0400)
To support the Armada XP SoC, we just need to include the correct header.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
Tested-by: Luka Perkov <luka@openwrt.org>
drivers/i2c/mvtwsi.c

index a2deae6a3aeac46b6657f49b24d0cd870d7ba0ac..9b2ca1e81ba33a7f94e539a020336015b30592fa 100644 (file)
@@ -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>