From: Leigh Brown Date: Tue, 19 Mar 2019 14:50:09 +0000 (+0000) Subject: ARM: kirkwood: remove obsolete call to icache_enable X-Git-Tag: v2025.01-rc5-pxa1908~3041^2~2 X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=93b3e812122a1a52ca00cbe6f6f71324c8127a85;p=u-boot.git 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 Reviewed-by: Stefan Roese Signed-off-by: Stefan Roese --- diff --git a/arch/arm/mach-kirkwood/cpu.c b/arch/arm/mach-kirkwood/cpu.c index 8b21db1071..8f8e300385 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);