summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/kona-common/hwinit-common.c
blob: 2b3a84051c76d1c7e5779011c9dc79c84d0e5aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright 2013 Broadcom Corporation.
 *
 * SPDX-License-Identifier:      GPL-2.0+
 */

#include <common.h>
#include <linux/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