xref: /OK3568_Linux_fs/u-boot/arch/arc/lib/reset.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * SPDX-License-Identifier:	GPL-2.0+
5*4882a593Smuzhiyun  */
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun #include <command.h>
8*4882a593Smuzhiyun #include <common.h>
9*4882a593Smuzhiyun 
do_reset(cmd_tbl_t * cmdtp,int flag,int argc,char * const argv[])10*4882a593Smuzhiyun int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
11*4882a593Smuzhiyun {
12*4882a593Smuzhiyun 	printf("Put your restart handler here\n");
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #ifdef DEBUG
15*4882a593Smuzhiyun 	/* Stop debug session here */
16*4882a593Smuzhiyun 	__asm__("brk");
17*4882a593Smuzhiyun #endif
18*4882a593Smuzhiyun 	return 0;
19*4882a593Smuzhiyun }
20