]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/karo/tk71/tk71.c
arm: marvell: Extract kirkwood gpio functions into new common file gpio.c
[karo-tx-uboot.git] / board / karo / tk71 / tk71.c
index ed0575cb05a26a6c4a77c6635bdc88ba04f91f9d..7aec5f9060fa7884ef5990e9f31eae2e22708a2d 100644 (file)
@@ -8,7 +8,7 @@
 #include <common.h>
 #include <miiphy.h>
 #include <asm/arch/cpu.h>
-#include <asm/arch/kirkwood.h>
+#include <asm/arch/soc.h>
 #include <asm/arch/mpp.h>
 #include <asm/io.h>
 
@@ -26,9 +26,9 @@ int board_early_init_f(void)
         * There are maximum 64 gpios controlled through 2 sets of registers
         * the  below configuration configures mainly initial LED status
         */
-       kw_config_gpio(TK71_OE_VAL_LOW,
-                       TK71_OE_VAL_HIGH,
-                       TK71_OE_LOW, TK71_OE_HIGH);
+       mvebu_config_gpio(TK71_OE_VAL_LOW,
+                         TK71_OE_VAL_HIGH,
+                         TK71_OE_LOW, TK71_OE_HIGH);
 
        /* Multi-Purpose Pins Functionality configuration */
        static const u32 kwmpp_config[] = {