Scott Branden | 5653a82 | 2014-08-11 13:58:22 -0700 | [diff] [blame] | 1 | /* |
2 | * Copyright 2014 Broadcom Corporation. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | */ | ||||
6 | |||||
7 | #include <common.h> | ||||
8 | |||||
9 | #ifndef CONFIG_SYS_DCACHE_OFF | ||||
10 | void enable_caches(void) | ||||
11 | { | ||||
12 | /* Enable D-cache. I-cache is already enabled in start.S */ | ||||
13 | dcache_enable(); | ||||
14 | } | ||||
15 | #endif |