GPIO initialization for AR9341 do not neet to be in asm (we don't need wait loop)
authorPiotr Dymacz <pepe2k@gmail.com>
Tue, 17 Dec 2013 22:44:56 +0000 (23:44 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Tue, 17 Dec 2013 22:44:56 +0000 (23:44 +0100)
u-boot/cpu/mips/start_bootstrap.S

index b6f04b91d5546c1f291f56fac3619f86509c4da9..9f5ebaadbfe83767d507498ed5ae6fde9577f022 100755 (executable)
@@ -195,6 +195,7 @@ _start_bootstrap:
 reset:
 
 #ifdef CONFIG_WASP_SUPPORT
+#ifndef CONFIG_AP123
        /* GPIO Init */
        li a1, ATH_GPIO_OE
        lw v1, 0(a1)
@@ -245,6 +246,7 @@ reset:
        or      v1, v1, v0
        /* set v1 value to ATH_GPIO_OUT */
        sw      v1, 0(a1)
+#endif
 #endif
 
        /*