mx27: add function enable_caches
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
This commit is contained in:
parent
c174797061
commit
6247c4653b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user