summaryrefslogtreecommitdiffstats
path: root/arch/arc/lib/init_helpers.c
blob: dbc8d68ffb240c692eac6c3dda76404f8451a439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <common.h>

DECLARE_GLOBAL_DATA_PTR;

int init_cache_f_r(void)
{
#ifndef CONFIG_SYS_DCACHE_OFF
	flush_dcache_all();
#endif
	return 0;
}
OpenPOWER on IntegriCloud