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