Commit 7ce85318 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tom Rini

arm: mach-omap2: cache: Explicitly enable I cache

omap-common cache enabling sequence relies on cpu_init_cp15()
(inside start.S) for enabling I-caches. But cpu_init_cp15()
can be skipped if CONFIG_SKIP_LOWLEVEL_INIT is defined. So
enable I-caches if not enabled already.
Debugged-by: default avatarJean-Jacques Hiblot <>
Tested-by: default avatarSteve Kipisz <>
Signed-off-by: Lokesh Vutla's avatarLokesh Vutla <>
Tested-by: default avatarJean-Jacques Hiblot <>
Reviewed-by: Tom Rini's avatarTom Rini <>
parent 535adee8
......@@ -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())
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment