diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-05-22 03:57:38 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-07-24 09:51:03 -0400 |
commit | 015643152aee4c333e3f95d153347f50b7e92ea7 (patch) | |
tree | 544ff1be14755d89aec2ec01868c6cd4d7885ade /arch | |
parent | 5a4dcfac1e05f7c025a465d3372a1c1425004c2b (diff) | |
download | u-boot-imx-015643152aee4c333e3f95d153347f50b7e92ea7.zip u-boot-imx-015643152aee4c333e3f95d153347f50b7e92ea7.tar.gz u-boot-imx-015643152aee4c333e3f95d153347f50b7e92ea7.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/malta.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/include/asm/malta.h b/arch/mips/include/asm/malta.h index b215164..f2bbf0f 100644 --- a/arch/mips/include/asm/malta.h +++ b/arch/mips/include/asm/malta.h @@ -13,4 +13,7 @@ #define MALTA_UART_BASE (MALTA_IO_PORT_BASE + 0x3f8) +#define MALTA_RESET_BASE 0x1f000500 +#define GORESET 0x42 + #endif /* _MIPS_ASM_MALTA_H */ |