summaryrefslogtreecommitdiffstats
path: root/commands/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/reset.c')
-rw-r--r--commands/reset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/reset.c b/commands/reset.c
index 4f42b91e0f..830048049a 100644
--- a/commands/reset.c
+++ b/commands/reset.c
@@ -21,6 +21,7 @@
#include <command.h>
#include <complete.h>
#include <getopt.h>
+#include <restart.h>
static int cmd_reset(int argc, char *argv[])
{
@@ -39,7 +40,7 @@ static int cmd_reset(int argc, char *argv[])
if (shutdown_flag)
shutdown_barebox();
- reset_cpu(0);
+ restart_machine();
/* Not reached */
return 1;