diff options
Diffstat (limited to 'arch/arm/cpu/arm720t/cpu.c')
| -rw-r--r-- | arch/arm/cpu/arm720t/cpu.c | 29 | 
1 files changed, 1 insertions, 28 deletions
| diff --git a/arch/arm/cpu/arm720t/cpu.c b/arch/arm/cpu/arm720t/cpu.c index 71d8d6b5c..974f2880a 100644 --- a/arch/arm/cpu/arm720t/cpu.c +++ b/arch/arm/cpu/arm720t/cpu.c @@ -36,10 +36,6 @@  #include <asm/hardware.h>  #include <asm/system.h> -#if defined(CONFIG_IMPA7) -static void cache_flush(void); -#endif -  int cleanup_before_linux (void)  {  	/* @@ -50,20 +46,7 @@ int cleanup_before_linux (void)  	 * and we set the CPU-speed to 73 MHz - see start.S for details  	 */ -#if defined(CONFIG_IMPA7) -	disable_interrupts (); - -	/* turn off I-cache */ -	icache_disable(); -	dcache_disable(); - -	/* flush I-cache */ -	cache_flush(); -#ifdef CONFIG_ARM7_REVD -	/* go to high speed */ -	IO_SYSCON3 = (IO_SYSCON3 & ~CLKCTL) | CLKCTL_73; -#endif -#elif defined(CONFIG_NETARM) || defined(CONFIG_S3C4510B) || defined(CONFIG_LPC2292) +#if defined(CONFIG_NETARM) || defined(CONFIG_S3C4510B) || defined(CONFIG_LPC2292)  	disable_interrupts ();  	/* Nothing more needed */  #elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR) @@ -73,13 +56,3 @@ int cleanup_before_linux (void)  #endif  	return 0;  } - -#if defined(CONFIG_IMPA7) -/* flush I/D-cache */ -static void cache_flush (void) -{ -	unsigned long i = 0; - -	asm ("mcr p15, 0, %0, c7, c5, 0": :"r" (i)); -} -#endif |