common: Move some cache and MMU functions out of common.h
[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 <linux/sizes.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