system.h 599 B

123456789101112131415161718192021222324252627282930
  1. /* linux/arch/arm/mach-s3c6400/include/mach/system.h
  2. *
  3. * Copyright 2008 Openmoko, Inc.
  4. * Copyright 2008 Simtec Electronics
  5. * Ben Dooks <ben@simtec.co.uk>
  6. * http://armlinux.simtec.co.uk/
  7. *
  8. * S3C6400 - system implementation
  9. */
  10. #ifndef __ASM_ARCH_SYSTEM_H
  11. #define __ASM_ARCH_SYSTEM_H __FILE__
  12. #include <plat/watchdog-reset.h>
  13. static void arch_idle(void)
  14. {
  15. /* nothing here yet */
  16. }
  17. static void arch_reset(char mode, const char *cmd)
  18. {
  19. if (mode != 's')
  20. arch_wdt_reset();
  21. /* if all else fails, or mode was for soft, jump to 0 */
  22. cpu_reset(0);
  23. }
  24. #endif /* __ASM_ARCH_IRQ_H */