aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-kirkwood
diff options
context:
space:
mode:
authorLeigh Brown <leigh@solinno.co.uk>2019-03-19 14:50:09 +0000
committerStefan Roese <sr@denx.de>2019-04-12 07:04:18 +0200
commit93b3e812122a1a52ca00cbe6f6f71324c8127a85 (patch)
treeff0d4abdc440e1dbf70fbf7bc7e3ae7488f4bb45 /arch/arm/mach-kirkwood
parent4db944ab44a7bc8b495eece6afb124c632b02ef5 (diff)
downloadu-boot-93b3e812122a1a52ca00cbe6f6f71324c8127a85.zip
u-boot-93b3e812122a1a52ca00cbe6f6f71324c8127a85.tar.gz
u-boot-93b3e812122a1a52ca00cbe6f6f71324c8127a85.tar.bz2
ARM: kirkwood: remove obsolete call to icache_enable
Commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache routines to common file") changed cache setup for Kirkwood such that icache_enable() is now called from enable_caches() which is called from initr_caches() which is in the list of functions in init_sequence_r[] prior to arch_misc_init(). This means the call to icache_enable() in arch_misc_init() is no longer required, so remove it. Signed-off-by: Leigh Brown <leigh@solinno.co.uk> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r--arch/arm/mach-kirkwood/cpu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-kirkwood/cpu.c b/arch/arm/mach-kirkwood/cpu.c
index 8b21db1..8f8e300 100644
--- a/arch/arm/mach-kirkwood/cpu.c
+++ b/arch/arm/mach-kirkwood/cpu.c
@@ -251,7 +251,6 @@ int arch_misc_init(void)
temp |= (1 << 22);
writefr_extra_feature_reg(temp);
- icache_enable();
/* Change reset vector to address 0x0 */
temp = get_cr();
set_cr(temp & ~CR_V);