reset.c 357 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
  4. */
  5. #include <common.h>
  6. #include <command.h>
  7. #include <hang.h>
  8. #ifndef CONFIG_SYSRESET
  9. int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
  10. {
  11. printf("resetting ...\n");
  12. printf("reset not supported yet\n");
  13. hang();
  14. return 0;
  15. }
  16. #endif