RPi: Enable caches for rpi2
[platform/kernel/u-boot.git] / arch / arm / mach-bcm283x / init.c
1 /*
2  * (C) Copyright 2012 Stephen Warren
3  *
4  * See file CREDITS for list of people who contributed to this
5  * project.
6  *
7  * SPDX-License-Identifier:     GPL-2.0
8  */
9
10 #include <common.h>
11
12 int arch_cpu_init(void)
13 {
14         icache_enable();
15
16         return 0;
17 }
18
19 #ifdef CONFIG_ARMV7_LPAE
20 void enable_caches(void)
21 {
22         dcache_enable();
23 }
24 #endif