MIPS: BCM63XX: fix switch core reset on BCM6368
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 10 Dec 2018 11:40:38 +0000 (12:40 +0100)
committerPaul Burton <paul.burton@mips.com>
Sun, 23 Dec 2018 15:57:11 +0000 (07:57 -0800)
commit8a38dacf87180738d42b058334c951eba15d2d47
treea87ce6acfc2fa873c4bd4a8589b5c7603700cee7
parentadcc81f148d733b7e8e641300c5590a2cdc13bf3
MIPS: BCM63XX: fix switch core reset on BCM6368

The Ethernet Switch core mask was set to 0, causing the switch core to
be not reset on BCM6368 on boot. Provide the proper mask so the switch
core gets reset to a known good state.

Fixes: 799faa626c71 ("MIPS: BCM63XX: add core reset helper")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
arch/mips/bcm63xx/reset.c