From 172803bbbc5512b29421dc0ede0847ec7b20e5db Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Tue, 17 Dec 2013 23:44:56 +0100 Subject: [PATCH] GPIO initialization for AR9341 do not neet to be in asm (we don't need wait loop) --- u-boot/cpu/mips/start_bootstrap.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/u-boot/cpu/mips/start_bootstrap.S b/u-boot/cpu/mips/start_bootstrap.S index b6f04b9..9f5ebaa 100755 --- a/u-boot/cpu/mips/start_bootstrap.S +++ b/u-boot/cpu/mips/start_bootstrap.S @@ -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 /* -- 2.25.1