arm: mach-omap2: cache: Explicitly enable I cache
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 3 May 2018 15:04:49 +0000 (20:34 +0530)
committerTom Rini <trini@konsulko.com>
Sun, 6 May 2018 17:35:40 +0000 (13:35 -0400)
commit7ce85318cfff5fd82a059131761559cba7fef309
tree54a9427928027a68a0412c69619ed3b5a4c6fc52
parent535adee8692f89df3472f92ae68d6aa0efb883d7
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: Jean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: Steve Kipisz <s-kipisz2@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Tested-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/omap-cache.c