]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: kirkwood: remove obsolete call to icache_enable
authorLeigh Brown <leigh@solinno.co.uk>
Tue, 19 Mar 2019 14:50:09 +0000 (14:50 +0000)
committerStefan Roese <sr@denx.de>
Fri, 12 Apr 2019 05:04:18 +0000 (07:04 +0200)
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>
arch/arm/mach-kirkwood/cpu.c

index 8b21db10715364f33f7d50abcd2cd001822e6045..8f8e3003854c213d7b04c2e974058230f90b605b 100644 (file)
@@ -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);