diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2006-04-18 22:21:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-19 09:13:50 -0700 |
commit | 0d34c86c3b75e5fd7cde15c965349b0104e06e53 (patch) | |
tree | 13092afb5f94f45429ff04c24ce390ddf7f6a7b4 /arch/m32r/kernel | |
parent | fa372810e51979c5044e036a34015845e9c6aedd (diff) | |
download | kernel_samsung_aries-0d34c86c3b75e5fd7cde15c965349b0104e06e53.zip kernel_samsung_aries-0d34c86c3b75e5fd7cde15c965349b0104e06e53.tar.gz kernel_samsung_aries-0d34c86c3b75e5fd7cde15c965349b0104e06e53.tar.bz2 |
[PATCH] m32r: mappi3 reboot support
Here is a patch to support a reboot function for M3A-2170(Mappi-III)
evaluation board.
Signed-off-by: Hayato Fujiwara <fujiwara@linux-m32r.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m32r/kernel')
-rw-r--r-- | arch/m32r/kernel/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m32r/kernel/process.c b/arch/m32r/kernel/process.c index 5dfc7ea..065f5e7 100644 --- a/arch/m32r/kernel/process.c +++ b/arch/m32r/kernel/process.c @@ -116,6 +116,10 @@ void cpu_idle (void) void machine_restart(char *__unused) { +#if defined(CONFIG_PLAT_MAPPI3) + outw(1, (unsigned long)PLD_REBOOT); +#endif + printk("Please push reset button!\n"); while (1) cpu_relax(); |