summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/iproc-common/hwinit-common.c
blob: 7131524215b4a52ca83704658cb9d344eb1a7a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * 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