mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-03 16:04:47 +01: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…
Add table
Reference in a new issue