Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jonas Gorski and committed by
Paul Burton
8a38dacf adcc81f1

+1 -1
+1 -1
arch/mips/bcm63xx/reset.c
··· 120 120 #define BCM6368_RESET_DSL 0 121 121 #define BCM6368_RESET_SAR SOFTRESET_6368_SAR_MASK 122 122 #define BCM6368_RESET_EPHY SOFTRESET_6368_EPHY_MASK 123 - #define BCM6368_RESET_ENETSW 0 123 + #define BCM6368_RESET_ENETSW SOFTRESET_6368_ENETSW_MASK 124 124 #define BCM6368_RESET_PCM SOFTRESET_6368_PCM_MASK 125 125 #define BCM6368_RESET_MPI SOFTRESET_6368_MPI_MASK 126 126 #define BCM6368_RESET_PCIE 0