system.h 630 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * DaVinci system defines
  3. *
  4. * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
  5. *
  6. * 2007 (c) MontaVista Software, Inc. This file is licensed under
  7. * the terms of the GNU General Public License version 2. This program
  8. * is licensed "as is" without any warranty of any kind, whether express
  9. * or implied.
  10. */
  11. #ifndef __ASM_ARCH_SYSTEM_H
  12. #define __ASM_ARCH_SYSTEM_H
  13. #include <asm/io.h>
  14. #include <asm/hardware.h>
  15. extern void davinci_watchdog_reset(void);
  16. static void arch_idle(void)
  17. {
  18. cpu_do_idle();
  19. }
  20. static void arch_reset(char mode)
  21. {
  22. davinci_watchdog_reset();
  23. }
  24. #endif /* __ASM_ARCH_SYSTEM_H */