]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/arm/mach-rockchip/rv1108/rv1108.c
CONFIG_SPL_SYS_[DI]CACHE_OFF: add
[thirdparty/u-boot.git] / arch / arm / mach-rockchip / rv1108 / rv1108.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
2c1e11dd
AY
2/*
3 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
4 * Author: Andy Yan <andy.yan@rock-chips.com>
2c1e11dd
AY
5 */
6
7#include <common.h>
8
10015025 9#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
2c1e11dd
AY
10void enable_caches(void)
11{
12 /* Enable D-cache. I-cache is already enabled in start.S */
13 dcache_enable();
14}
15#endif