summaryrefslogtreecommitdiff
path: root/arch/arc/lib/reset.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2015-01-20 16:41:11 -0500
committerTom Rini <trini@ti.com>2015-01-20 16:41:11 -0500
commit768f6096f9c389b5ed36bee2957bee16b085fc4a (patch)
tree75d1efa0368647df87dfe4dbd16a101cbdecdc60 /arch/arc/lib/reset.c
parent1cd20006989532c0a688870a43727ace58997785 (diff)
parentfdff23702a361e89a153222233231af4d00d6e2a (diff)
downloadu-boot-imx-768f6096f9c389b5ed36bee2957bee16b085fc4a.zip
u-boot-imx-768f6096f9c389b5ed36bee2957bee16b085fc4a.tar.gz
u-boot-imx-768f6096f9c389b5ed36bee2957bee16b085fc4a.tar.bz2
Merge git://git.denx.de/u-boot-arc
Diffstat (limited to 'arch/arc/lib/reset.c')
-rw-r--r--arch/arc/lib/reset.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arc/lib/reset.c b/arch/arc/lib/reset.c
new file mode 100644
index 0000000..98ebf1d
--- /dev/null
+++ b/arch/arc/lib/reset.c
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <command.h>
+#include <common.h>
+
+int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
+{
+ printf("Put your restart handler here\n");
+
+#ifdef DEBUG
+ /* Stop debug session here */
+ __asm__("brk");
+#endif
+ return 0;
+}