diff options
Diffstat (limited to 'arch/arm/mach-exynos/soc.c')
-rw-r--r-- | arch/arm/mach-exynos/soc.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/soc.c b/arch/arm/mach-exynos/soc.c new file mode 100644 index 0000000000..0f116b141a --- /dev/null +++ b/arch/arm/mach-exynos/soc.c @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 Samsung Electronics. + * Minkyu Kang <mk7.kang@samsung.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <asm/io.h> +#include <asm/system.h> + +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 |