summaryrefslogtreecommitdiff
path: root/arch/arc/cpu/arc700/reset.c
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2014-02-04 12:56:14 +0400
committerTom Rini <trini@ti.com>2014-02-07 08:14:32 -0500
commit2f16ac9df4d898ab7266f768f125a638c7c5add8 (patch)
treef45e5d608b684b8024e15ac5d0cef37e344d10ab /arch/arc/cpu/arc700/reset.c
parent288aaacf2de5507f33c0bb26eb063f2f69033dd6 (diff)
arc: add cpu files
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Francois Bedard <fbedard@synopsys.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/arc/cpu/arc700/reset.c')
-rw-r--r--arch/arc/cpu/arc700/reset.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arc/cpu/arc700/reset.c b/arch/arc/cpu/arc700/reset.c
new file mode 100644
index 0000000000..98ebf1d445
--- /dev/null
+++ b/arch/arc/cpu/arc700/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;
+}