Commit 673ba27a authored by Michal Simek's avatar Michal Simek

zynq: Enable dcache support

Enable dcache.
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 32cccecd
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment