blob: 4fa94dbeeb1d4f9d8340c8e6faabcbfc833ad948 [file] [log] [blame]
Stephen Warren59d63f72012-09-01 16:27:56 +00001/*
2 * (C) Copyright 2012 Stephen Warren
3 *
4 * See file CREDITS for list of people who contributed to this
5 * project.
6 *
Tom Rini5b8031c2016-01-14 22:05:13 -05007 * SPDX-License-Identifier: GPL-2.0
Stephen Warren59d63f72012-09-01 16:27:56 +00008 */
9
10#include <common.h>
11
12int arch_cpu_init(void)
13{
14 icache_enable();
15
16 return 0;
17}
Alexander Grafccd9d512016-03-16 15:41:23 +010018
19#ifdef CONFIG_ARMV7_LPAE
20void enable_caches(void)
21{
22 dcache_enable();
23}
24#endif