system.h 774 B

12345678910111213141516171819202122232425262728
  1. /* arch/arm/mach-zynq/include/mach/system.h
  2. *
  3. * Copyright (C) 2011 Xilinx
  4. *
  5. * This software is licensed under the terms of the GNU General Public
  6. * License version 2, as published by the Free Software Foundation, and
  7. * may be copied, distributed, and modified under those terms.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. #ifndef __MACH_SYSTEM_H__
  15. #define __MACH_SYSTEM_H__
  16. static inline void arch_idle(void)
  17. {
  18. cpu_do_idle();
  19. }
  20. static inline void arch_reset(char mode, const char *cmd)
  21. {
  22. /* Add architecture specific reset processing here */
  23. }
  24. #endif