system.h 598 B

1234567891011121314151617181920212223242526
  1. /*
  2. * arch/arm/plat-spear/include/plat/system.h
  3. *
  4. * SPEAr platform specific architecture functions
  5. *
  6. * Copyright (C) 2009 ST Microelectronics
  7. * Viresh Kumar<viresh.kumar@st.com>
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. #ifndef __PLAT_SYSTEM_H
  14. #define __PLAT_SYSTEM_H
  15. static inline void arch_idle(void)
  16. {
  17. /*
  18. * This should do all the clock switching
  19. * and wait for interrupt tricks
  20. */
  21. cpu_do_idle();
  22. }
  23. #endif /* __PLAT_SYSTEM_H */