From: Florian Fainelli Date: Fri, 2 Mar 2007 21:07:41 +0000 (+0100) Subject: [MIPS] MTX1: remove unneeded settings X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6fff989157aa0506520637277ec4653306689c25;p=openwrt%2Fstaging%2Fblogic.git [MIPS] MTX1: remove unneeded settings This patch removes unnecessary settings at setup time. Signed-off-by: Florian Fainelli Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/au1000/mtx-1/board_setup.c b/arch/mips/au1000/mtx-1/board_setup.c index 13f9bf5f91a6..7a3cf72c51aa 100644 --- a/arch/mips/au1000/mtx-1/board_setup.c +++ b/arch/mips/au1000/mtx-1/board_setup.c @@ -66,9 +66,7 @@ void __init board_setup(void) #endif // initialize sys_pinfunc: - // disable second ethernet port (SYS_PF_NI2) - // set U3/GPIO23 to GPIO23 (SYS_PF_U3) - au_writel( SYS_PF_NI2 | SYS_PF_U3, SYS_PINFUNC ); + au_writel( SYS_PF_NI2, SYS_PINFUNC ); // initialize GPIO au_writel( 0xFFFFFFFF, SYS_TRIOUTCLR );