mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 21:33:24 +09:00
17 lines
282 B
C
17 lines
282 B
C
![]() |
/*
|
||
|
* Copyright 2013 Broadcom Corporation.
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0+
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <asm/sizes.h>
|
||
|
|
||
|
#ifndef CONFIG_SYS_DCACHE_OFF
|
||
|
void enable_caches(void)
|
||
|
{
|
||
|
/* Enable D-cache. I-cache is already enabled in start.S */
|
||
|
dcache_enable();
|
||
|
}
|
||
|
#endif
|