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

#include <common.h>

#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
void enable_caches(void)
{
	/* Enable D-cache. I-cache is already enabled in start.S */
	dcache_enable();
}
#endif