system.h 580 B

12345678910111213141516171819202122232425262728
  1. /* linux/arch/arm/mach-s5pc100/include/mach/system.h
  2. *
  3. * Copyright 2009 Samsung Electronics Co.
  4. * Byungho Min <bhmin@samsung.com>
  5. *
  6. * S5PC100 - system implementation
  7. *
  8. * Based on mach-s3c6400/include/mach/system.h
  9. */
  10. #ifndef __ASM_ARCH_SYSTEM_H
  11. #define __ASM_ARCH_SYSTEM_H __FILE__
  12. #include <linux/io.h>
  13. #include <mach/map.h>
  14. #include <mach/regs-clock.h>
  15. static void arch_idle(void)
  16. {
  17. /* nothing here yet */
  18. }
  19. static void arch_reset(char mode, const char *cmd)
  20. {
  21. __raw_writel(S5PC100_SWRESET_RESETVAL, S5PC100_SWRESET);
  22. return;
  23. }
  24. #endif /* __ASM_ARCH_IRQ_H */