arm:exynos: Enable data cache at exynos based processors.
This patch enables the L1 data cache for systems based on Samsung Exynos processor. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
6fff52b93a
commit
d7957d1d43
@ -28,3 +28,11 @@ void reset_cpu(ulong addr)
|
||||
{
|
||||
writel(0x1, samsung_get_base_swreset());
|
||||
}
|
||||
|
||||
#ifndef CONFIG_SYS_DCACHE_OFF
|
||||
void enable_caches(void)
|
||||
{
|
||||
/* Enable D-cache. I-cache is already enabled in start.S */
|
||||
dcache_enable();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user