mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
ARM: kirkwood: remove obsolete call to icache_enable
Commit 93b283d49f
("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>
This commit is contained in:
parent
4db944ab44
commit
93b3e81212
1 changed files with 0 additions and 1 deletions
|
@ -251,7 +251,6 @@ int arch_misc_init(void)
|
||||||
temp |= (1 << 22);
|
temp |= (1 << 22);
|
||||||
writefr_extra_feature_reg(temp);
|
writefr_extra_feature_reg(temp);
|
||||||
|
|
||||||
icache_enable();
|
|
||||||
/* Change reset vector to address 0x0 */
|
/* Change reset vector to address 0x0 */
|
||||||
temp = get_cr();
|
temp = get_cr();
|
||||||
set_cr(temp & ~CR_V);
|
set_cr(temp & ~CR_V);
|
||||||
|
|
Loading…
Reference in a new issue