diff options
author | Wolfgang Denk <wd@denx.de> | 2011-09-05 14:37:30 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-09-07 21:46:40 +0200 |
commit | c1f8750f9f15a81e40566f2be6fe359649e91a00 (patch) | |
tree | bbd3b2874d97975dd5a044f23821e93c95c24834 /arch/arm/cpu/arm720t/cpu.c | |
parent | 2c650e20107917ed90a36ca574a6816fb5d3342e (diff) | |
download | u-boot-imx-c1f8750f9f15a81e40566f2be6fe359649e91a00.zip u-boot-imx-c1f8750f9f15a81e40566f2be6fe359649e91a00.tar.gz u-boot-imx-c1f8750f9f15a81e40566f2be6fe359649e91a00.tar.bz2 |
ARM: remove broken "impa7" board.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Cc: Marius Gröger <mag@sysgo.de>
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 71d8d6b..974f288 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 |