mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-22 07:32:03 +00: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
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue