OpenCloudOS-Kernel/arch/mips/alchemy
Florian Fainelli 9ced975711 MIPS: Alchemy: Fix reset for MTX-1 and XXS1500
Since commit 32fd6901 (MIPS: Alchemy: get rid of common/reset.c)
Alchemy-based boards use their own reset function. For MTX-1 and XXS1500,
the reset function pokes at the BCSR.SYSTEM_RESET register, but this does
not work. According to Bruno Randolf, this was not tested when written.

Previously, the generic au1000_restart() routine called the board specific
reset function, which for MTX-1 and XXS1500 did not work, but finally made
a jump to the reset vector, which really triggers a system restart. Fix
reboot for both targets by jumping to the reset vector.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2093/
Acked-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2011-03-14 21:07:28 +01:00
..
common Merge branch 'master' into for-next 2010-12-22 18:57:02 +01:00
devboards Merge branch 'master' into for-next 2010-12-22 18:57:02 +01:00
gpr MIPS: Alchemy: Add basic support for the GPR board 2010-08-05 13:26:09 +01:00
mtx-1 MIPS: Alchemy: Fix reset for MTX-1 and XXS1500 2011-03-14 21:07:28 +01:00
xxs1500 MIPS: Alchemy: Fix reset for MTX-1 and XXS1500 2011-03-14 21:07:28 +01:00
Kconfig MIPS: Alchemy: Add basic support for the GPR board 2010-08-05 13:26:09 +01:00
Platform MIPS: Alchemy: Add basic support for the GPR board 2010-08-05 13:26:09 +01:00