patch-2.4.22 linux-2.4.22/include/asm-arm/arch-riscstation/system.h
Next file: linux-2.4.22/include/asm-arm/arch-riscstation/time.h
Previous file: linux-2.4.22/include/asm-arm/arch-riscstation/serial.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-arm/arch-riscstation/system.h
- Orig date:
1969-12-31 16:00:00.000000000 -0800
diff -urN linux-2.4.21/include/asm-arm/arch-riscstation/system.h linux-2.4.22/include/asm-arm/arch-riscstation/system.h
@@ -0,0 +1,27 @@
+/*
+ * linux/include/asm-arm/arch-rpc/system.h
+ *
+ * Copyright (C) 1996-1999 Russell King.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <asm/arch/hardware.h>
+#include <asm/hardware/iomd.h>
+#include <asm/io.h>
+
+static void arch_idle(void)
+{
+ iomd_writeb(0, IOMD_SUSMODE);
+}
+
+static inline void arch_reset(char mode)
+{
+ iomd_writeb(0, IOMD_ROMCR0);
+
+ /*
+ * Jump into the ROM
+ */
+ cpu_reset(0);
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)