watchdog.c 416 B

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