oxnas: also reset GPIO B registers on boot
authorJohn Crispin <blogic@openwrt.org>
Sun, 20 Mar 2016 14:41:21 +0000 (14:41 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sun, 20 Mar 2016 14:41:21 +0000 (14:41 +0000)
commit4cc7ede8db038cd5c81e3dfc52228f71bf89d612
tree4a1cd65b363f68ab2878704da820cbc00359bbed
parent8b32d35681618c404fbb2543213c32fdff92aa58
oxnas: also reset GPIO B registers on boot

Clear both, SYS_CTRL_*_SEL and SEC_CTRL_*_SEL on boot instead of
writing to SYS_CTRL_*_SEL twice which looks like a copy-paste error.
Thanks to anonymous to bring this up in #21892!

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49042 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c