blob: 2b3a84051c76d1c7e5779011c9dc79c84d0e5aa7 [file] [log] [blame]
Darwin Rambo5d6c3152014-02-11 11:06:33 -08001/*
2 * Copyright 2013 Broadcom Corporation.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
Alexey Brodkin267d8e22014-02-26 17:47:58 +04008#include <linux/sizes.h>
Darwin Rambo5d6c3152014-02-11 11:06:33 -08009
10#ifndef CONFIG_SYS_DCACHE_OFF
11void enable_caches(void)
12{
13 /* Enable D-cache. I-cache is already enabled in start.S */
14 dcache_enable();
15}
16#endif