]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/arc/lib/init_helpers.c
2 * Copyright (C) 2013-2015 Synopsys, Inc. All rights reserved.
4 * SPDX-License-Identifier: GPL-2.0+
9 DECLARE_GLOBAL_DATA_PTR
;
11 int init_cache_f_r(void)
13 #ifndef CONFIG_SYS_ICACHE_OFF
15 /* Make sure no stale entries persist from before we disabled cache */
16 invalidate_icache_all();
19 #ifndef CONFIG_SYS_DCACHE_OFF
21 /* Make sure no stale entries persist from before we disabled cache */
22 invalidate_dcache_all();