mx27: add function enable_caches

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
This commit is contained in:
trem 2013-06-14 18:21:21 +02:00 committed by Stefano Babic
parent c174797061
commit 6247c4653b
1 changed files with 8 additions and 0 deletions

View File

@ -380,3 +380,11 @@ void mx27_sd2_init_pins(void)
}
#endif /* CONFIG_MXC_MMC */
#ifndef CONFIG_SYS_DCACHE_OFF
void enable_caches(void)
{
/* Enable D-cache. I-cache is already enabled in start.S */
dcache_enable();
}
#endif /* CONFIG_SYS_DCACHE_OFF */