mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 23:02:59 +00:00
16 lines
254 B
C
16 lines
254 B
C
|
/*
|
||
|
* Copyright 2014 Broadcom Corporation.
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0+
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
|
||
|
#ifndef CONFIG_SYS_DCACHE_OFF
|
||
|
void enable_caches(void)
|
||
|
{
|
||
|
/* Enable D-cache. I-cache is already enabled in start.S */
|
||
|
dcache_enable();
|
||
|
}
|
||
|
#endif
|