watchdog.c 438 B

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