watchdog.c 413 B

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