mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-27 17:41:34 +00:00
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>
19 lines
491 B
C
19 lines
491 B
C
/*
|
|
* Copyright (C) 2013 Gabor Juhos <juhosg@openwrt.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _MIPS_ASM_MALTA_H
|
|
#define _MIPS_ASM_MALTA_H
|
|
|
|
#define MALTA_IO_PORT_BASE 0x10000000
|
|
|
|
#define MALTA_UART_BASE (MALTA_IO_PORT_BASE + 0x3f8)
|
|
|
|
#define MALTA_RESET_BASE 0x1f000500
|
|
#define GORESET 0x42
|
|
|
|
#endif /* _MIPS_ASM_MALTA_H */
|