system.h 542 B

123456789101112131415161718192021222324252627
  1. /*
  2. * linux/include/asm-arm/arch-rpc/system.h
  3. *
  4. * Copyright (C) 1996-1999 Russell King.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <asm/hardware.h>
  11. #include <asm/hardware/iomd.h>
  12. #include <asm/io.h>
  13. static inline void arch_idle(void)
  14. {
  15. cpu_do_idle();
  16. }
  17. static inline void arch_reset(char mode)
  18. {
  19. iomd_writeb(0, IOMD_ROMCR0);
  20. /*
  21. * Jump into the ROM
  22. */
  23. cpu_reset(0);
  24. }