diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/omap-cache.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap-cache.c b/arch/arm/mach-omap2/omap-cache.c index b37163a..975ee1b 100644 --- a/arch/arm/mach-omap2/omap-cache.c +++ b/arch/arm/mach-omap2/omap-cache.c @@ -44,7 +44,11 @@ DECLARE_GLOBAL_DATA_PTR; void enable_caches(void) { - /* Enable D-cache. I-cache is already enabled in start.S */ + + /* Enable I cache if not enabled */ + if (!icache_status()) + icache_enable(); + dcache_enable(); } |