reset.c 352 B

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