Andy Yan | 2d982da | 2017-06-01 18:00:55 +0800 | [diff] [blame] | 1 | /* |
2 | * (C) Copyright 2016 Rockchip Electronics Co., Ltd | ||||
3 | * Author: Andy Yan <andy.yan@rock-chips.com> | ||||
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 |