watchdog.c 441 B

123456789101112131415161718192021222324252627
  1. /*
  2. * (C) Copyright 2010
  3. * Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
  4. *
  5. * (C) Copyright 2007
  6. * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
  7. *
  8. * SPDX-License-Identifier: GPL-2.0+
  9. */
  10. #include <common.h>
  11. #include <asm/processor.h>
  12. #include <asm/system.h>
  13. int watchdog_init(void)
  14. {
  15. return 0;
  16. }
  17. void reset_cpu(unsigned long ignored)
  18. {
  19. /* Address error with SR.BL=1 first. */
  20. trigger_address_error();
  21. while (1)
  22. ;
  23. }