git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
asm-arm
/
arch-iop3xx
/
system.h
diff --git
a/include/asm-arm/arch-iop3xx/system.h
b/include/asm-arm/arch-iop3xx/system.h
index
54a101b
..
af6ae8c
100644
(file)
--- a/
include/asm-arm/arch-iop3xx/system.h
+++ b/
include/asm-arm/arch-iop3xx/system.h
@@
-1,5
+1,5
@@
/*
/*
- * linux/include/asm-arm/arch-iop
80310
/system.h
+ * linux/include/asm-arm/arch-iop
3xx
/system.h
*
* Copyright (C) 2001 MontaVista Software, Inc.
*
*
* Copyright (C) 2001 MontaVista Software, Inc.
*
@@
-16,6
+16,14
@@
static inline void arch_idle(void)
static inline void arch_reset(char mode)
{
static inline void arch_reset(char mode)
{
+#ifdef CONFIG_ARCH_IOP321
+ *IOP321_PCSR = 0x30;
+#endif
+
+#ifdef CONFIG_ARCH_IOP331
+ *IOP331_PCSR = 0x30;
+#endif
+
if ( 1 && mode == 's') {
/* Jump into ROM at address 0 */
cpu_reset(0);
if ( 1 && mode == 's') {
/* Jump into ROM at address 0 */
cpu_reset(0);