]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arc/lib/init_helpers.c
arc: significant cache rework
[people/ms/u-boot.git] / arch / arc / lib / init_helpers.c
CommitLineData
3fb80163
AB
1/*
2 * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8
9DECLARE_GLOBAL_DATA_PTR;
10
11int init_cache_f_r(void)
12{
3fb80163 13#ifndef CONFIG_SYS_DCACHE_OFF
ef639e6f 14 flush_dcache_all();
3fb80163
AB
15#endif
16 return 0;
17}