zynq: Enable dcache support

Enable dcache.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Michal Simek 2014-01-03 09:32:35 +01:00
parent 32cccecd06
commit 673ba27a85

View file

@ -46,3 +46,11 @@ void reset_cpu(ulong addr)
while (1) 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