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 / kona-common / hwinit-common.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright 2013 Broadcom Corporation.
4  */
5
6 #include <common.h>
7 #include <cpu_func.h>
8 #include <asm/cache.h>
9 #include <linux/sizes.h>
10
11 #if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
12 void enable_caches(void)
13 {
14         /* Enable D-cache. I-cache is already enabled in start.S */
15         dcache_enable();
16 }
17 #endif