diff mbox series

MIPS: BCM63XX: fix switch core reset on BCM6368

Message ID 20181210114038.24162-1-jonas.gorski@gmail.com (mailing list archive)
State Accepted
Commit e8e8d449b9e6bddfc89bea840d98c8ea53d2ad50
Headers show
Series MIPS: BCM63XX: fix switch core reset on BCM6368 | expand

Commit Message

Jonas Gorski Dec. 10, 2018, 11:40 a.m. UTC
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>
---
 arch/mips/bcm63xx/reset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul Burton Dec. 14, 2018, 7:03 p.m. UTC | #1
Hello,

Jonas Gorski wrote:
> 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>

Applied to mips-fixes.

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@mips.com to report it. ]
diff mbox series

Patch

diff --git a/arch/mips/bcm63xx/reset.c b/arch/mips/bcm63xx/reset.c
index a2af38cf28a7..64574e74cb23 100644
--- a/arch/mips/bcm63xx/reset.c
+++ b/arch/mips/bcm63xx/reset.c
@@ -120,7 +120,7 @@ 
 #define BCM6368_RESET_DSL	0
 #define BCM6368_RESET_SAR	SOFTRESET_6368_SAR_MASK
 #define BCM6368_RESET_EPHY	SOFTRESET_6368_EPHY_MASK
-#define BCM6368_RESET_ENETSW	0
+#define BCM6368_RESET_ENETSW	SOFTRESET_6368_ENETSW_MASK
 #define BCM6368_RESET_PCM	SOFTRESET_6368_PCM_MASK
 #define BCM6368_RESET_MPI	SOFTRESET_6368_MPI_MASK
 #define BCM6368_RESET_PCIE	0