提交 6247c465 编写于 作者: T trem 提交者: Stefano Babic

mx27: add function enable_caches

Signed-off-by: NPhilippe Reynes <tremyfr@yahoo.fr>
上级 c1747970
......@@ -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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册