oxnas: also reset GPIO B registers on boot
authorJohn Crispin <john@openwrt.org>
Sun, 20 Mar 2016 14:41:21 +0000 (14:41 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 20 Mar 2016 14:41:21 +0000 (14:41 +0000)
commit086be10a23124b760b06e3dd822cec34bd4ea837
tree4a1cd65b363f68ab2878704da820cbc00359bbed
parentf661b5761fa82ae70ca06e3fd514072d04936bf6
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>
SVN-Revision: 49042
target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c