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