mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 16:10:24 +09:00
zynq: Enable dcache support
Enable dcache. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
32cccecd06
commit
673ba27a85
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user