]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/arm/cpu/armv7/iproc-common/hwinit-common.c
CONFIG_SPL_SYS_[DI]CACHE_OFF: add
[thirdparty/u-boot.git] / arch / arm / cpu / armv7 / iproc-common / hwinit-common.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
c4b45009
SB
2/*
3 * Copyright 2014 Broadcom Corporation.
c4b45009
SB
4 */
5
6#include <common.h>
7
10015025 8#if !CONFIG_IS_ENABLED(SYS_DCACHE_OFF)
c4b45009
SB
9void enable_caches(void)
10{
11 /* Enable D-cache. I-cache is already enabled in start.S */
12 dcache_enable();
13}
14#endif