summaryrefslogtreecommitdiffstats
path: root/arch/mips/ite-boards/generic/reset.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-16 12:44:20 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-16 12:44:20 +0000
commitdc2e1a589aa53a62f60136a4eb727fa770d2e02e (patch)
tree53d0723062766eb7a33421dc50a80e154901c133 /arch/mips/ite-boards/generic/reset.c
parent83b63cbde17a215fad5303e85a4546e2d31c7613 (diff)
Update ITE 8712 code.
Diffstat (limited to 'arch/mips/ite-boards/generic/reset.c')
-rw-r--r--arch/mips/ite-boards/generic/reset.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/mips/ite-boards/generic/reset.c b/arch/mips/ite-boards/generic/reset.c
index 1e013c93d..921a3b71c 100644
--- a/arch/mips/ite-boards/generic/reset.c
+++ b/arch/mips/ite-boards/generic/reset.c
@@ -3,10 +3,9 @@
* BRIEF MODULE DESCRIPTION
* ITE 8172 reset routines.
*
- * Copyright (C) 1997, 2001 Ralf Baechle
* Copyright 2001 MontaVista Software Inc.
* Author: MontaVista Software, Inc.
- * ppopov@mvista.com or support@mvista.com
+ * ppopov@mvista.com or source@mvista.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -37,10 +36,10 @@
#include <asm/reboot.h>
#include <asm/system.h>
-void it8172_restart(char *command)
+void it8172_restart()
{
- set_cp0_status(ST0_BEV | ST0_ERL);
- change_cp0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);
+ set_cp0_status((ST0_BEV | ST0_ERL), (ST0_BEV | ST0_ERL));
+ set_cp0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);
flush_cache_all();
write_32bit_cp0_register(CP0_WIRED, 0);
__asm__ __volatile__("jr\t%0"::"r"(0xbfc00000));