blob: dbc8d68ffb240c692eac6c3dda76404f8451a439 [file] [log] [blame]
Alexey Brodkin3fb80162015-02-24 19:40:36 +03001/*
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{
Alexey Brodkin3fb80162015-02-24 19:40:36 +030013#ifndef CONFIG_SYS_DCACHE_OFF
Alexey Brodkinef639e62015-05-18 16:56:26 +030014 flush_dcache_all();
Alexey Brodkin3fb80162015-02-24 19:40:36 +030015#endif
16 return 0;
17}