2 * Copyright (c) 2010 Samsung Electronics.
3 * Minkyu Kang <mk7.kang@samsung.com>
5 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm/system.h>
12 #ifdef CONFIG_TARGET_ESPRESSO7420
14 * Exynos7420 uses CPU0 of Cluster-1 as boot CPU. Due to this, branch_if_master
15 * fails to identify as the boot CPU as the master CPU. As temporary workaround,
16 * setup the slave CPU boot address as "_main".
18 extern void _main(void);
19 void *secondary_boot_addr = (void *)_main;
20 #endif /* CONFIG_TARGET_ESPRESSO7420 */
22 void reset_cpu(ulong addr)
25 writel(0x1, samsung_get_base_swreset());
29 #ifndef CONFIG_SYS_DCACHE_OFF
30 void enable_caches(void)
32 /* Enable D-cache. I-cache is already enabled in start.S */