zynq: Enable dcache support

Enable dcache.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Michal Simek
2014-02-19 09:41:20 +01:00
parent 32cccecd06
commit 673ba27a85
+8
View File
@@ -46,3 +46,11 @@ void reset_cpu(ulong addr)
while (1)
;
}
#ifndef CONFIG_SYS_DCACHE_OFF
void enable_caches(void)
{
/* Enable D-cache. I-cache is already enabled in start.S */
dcache_enable();
}
#endif