Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / arm / cpu / armv7 / iproc-common / hwinit-common.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright 2014 Broadcom Corporation.
4  */
5
6 #include <common.h>
7 #include <cpu_func.h>
8 #include <asm/cache.h>
9
10 #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
11 void enable_caches(void)
12 {
13         /* Enable D-cache. I-cache is already enabled in start.S */
14         dcache_enable();
15 }
16 #endif