X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Farch-iop3xx%2Fsystem.h;h=af6ae8cd36c98ffa1edc7a92f04cef0c6c4483f0;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=54a101b3944f8bc8dcc15b1a52515bd9b9f7b16f;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-arm/arch-iop3xx/system.h b/include/asm-arm/arch-iop3xx/system.h index 54a101b39..af6ae8cd3 100644 --- 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-iop80310/system.h + * linux/include/asm-arm/arch-iop3xx/system.h * * Copyright (C) 2001 MontaVista Software, Inc. * @@ -16,6 +16,14 @@ static inline void arch_idle(void) 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);