mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00:00
[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>
This commit is contained in:
parent
fa372810e5
commit
0d34c86c3b
2 changed files with 15 additions and 11 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue