summaryrefslogtreecommitdiff
path: root/arch/arc/lib/reset.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-03-03 14:05:43 -0500
committerTom Rini <trini@konsulko.com>2021-03-03 14:05:43 -0500
commit5a9d8633e5e5f5253010480fb0db3742b0ea1356 (patch)
tree6cef337796d50552504a3f0b90e07d32d2d88190 /arch/arc/lib/reset.c
parentc5219c4a18f2b27547ecd799914f94e48b0fa86f (diff)
parent63af92e837f3d7c21ab5fc4a96ffcbf202efaf90 (diff)
Merge branch '2021-03-03-assorted-improvements' into next
- Clean up reset_cpu() - Assorted arm cp15 cleanups - Assorted cleanups throughout the tree from Simon - TPM1 / TPM2 cleanups
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 fbb56ec83af..b8589d0f0a4 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;
}