]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-exynos/soc.c
at91: Add support for the AT91 slow clock controller
[u-boot] / arch / arm / mach-exynos / soc.c
index 0f116b141a327ea66c8b63675ddb7d543a48bb0a..f9c746861199eae76be4f7bd8914841c2aa151b1 100644 (file)
@@ -11,7 +11,9 @@
 
 void reset_cpu(ulong addr)
 {
+#ifdef CONFIG_CPU_V7
        writel(0x1, samsung_get_base_swreset());
+#endif
 }
 
 #ifndef CONFIG_SYS_DCACHE_OFF
@@ -21,3 +23,11 @@ void enable_caches(void)
        dcache_enable();
 }
 #endif
+
+#ifdef CONFIG_ARM64
+void lowlevel_init(void)
+{
+       armv8_switch_to_el2();
+       armv8_switch_to_el1();
+}
+#endif