reset.c 349 B

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