MIPS: qemu-malta: add reset support
authorGabor Juhos <juhosg@openwrt.org>
Wed, 22 May 2013 03:57:38 +0000 (03:57 +0000)
committerTom Rini <trini@ti.com>
Wed, 24 Jul 2013 13:51:03 +0000 (09:51 -0400)
commit015643152aee4c333e3f95d153347f50b7e92ea7
tree544ff1be14755d89aec2ec01868c6cd4d7885ade
parent5a4dcfac1e05f7c025a465d3372a1c1425004c2b
MIPS: qemu-malta: add reset support

The MIPS Malta board has a SOFTRES register. Writing a
magic value into that register initiates a board reset.

Use this feature to implement reset support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
arch/mips/include/asm/malta.h
board/qemu-malta/qemu-malta.c