summaryrefslogtreecommitdiff
path: root/arch/arc/lib/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/lib/reset.c')
-rw-r--r--arch/arc/lib/reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/lib/reset.c b/arch/arc/lib/reset.c
index fbb56ec83a..b8589d0f0a 100644
--- a/arch/arc/lib/reset.c
+++ b/arch/arc/lib/reset.c
@@ -7,7 +7,7 @@
#include <common.h>
#include <cpu_func.h>
-__weak void reset_cpu(ulong addr)
+__weak void reset_cpu(void)
{
/* Stop debug session here */
__builtin_arc_brk();
@@ -17,7 +17,7 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{
printf("Resetting the board...\n");
- reset_cpu(0);
+ reset_cpu();
return 0;
}