system.h 524 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Author: <linux@telechips.com>
  3. * Created: June 10, 2008
  4. * Description: LINUX SYSTEM FUNCTIONS for TCC83x
  5. *
  6. * Copyright (C) 2008-2009 Telechips
  7. *
  8. * Licensed under the terms of the GPL v2.
  9. *
  10. */
  11. #ifndef __ASM_ARCH_SYSTEM_H
  12. #define __ASM_ARCH_SYSTEM_H
  13. #include <linux/clk.h>
  14. #include <asm/mach-types.h>
  15. #include <mach/hardware.h>
  16. extern void plat_tcc_reboot(void);
  17. static inline void arch_idle(void)
  18. {
  19. cpu_do_idle();
  20. }
  21. static inline void arch_reset(char mode, const char *cmd)
  22. {
  23. plat_tcc_reboot();
  24. }
  25. #endif