Darwin Rambo | 5d6c315 | 2014-02-11 11:06:33 -0800 | [diff] [blame] | 1 | /* |
2 | * Copyright 2013 Broadcom Corporation. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | */ | ||||
6 | |||||
7 | #include <common.h> | ||||
Alexey Brodkin | 267d8e2 | 2014-02-26 17:47:58 +0400 | [diff] [blame] | 8 | #include <linux/sizes.h> |
Darwin Rambo | 5d6c315 | 2014-02-11 11:06:33 -0800 | [diff] [blame] | 9 | |
10 | #ifndef CONFIG_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 |