]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/armv7.h
ARM: atmel: spl: add saic to aic redirect function
[u-boot] / arch / arm / include / asm / armv7.h
index b352d431b19d76fc2f92009a93f0b43e6d3e4b8a..a13da23cf1726c6b2c4b4d22b820dd959060dffa 100644 (file)
@@ -76,13 +76,22 @@ void v7_outer_cache_inval_all(void);
 void v7_outer_cache_flush_range(u32 start, u32 end);
 void v7_outer_cache_inval_range(u32 start, u32 end);
 
-#ifdef CONFIG_ARMV7_NONSEC
+#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV7_VIRT)
 
-int armv7_switch_nonsec(void);
+int armv7_init_nonsec(void);
+int armv7_update_dt(void *fdt);
+bool armv7_boot_nonsec(void);
 
 /* defined in assembly file */
 unsigned int _nonsec_init(void);
-#endif /* CONFIG_ARMV7_NONSEC */
+void _do_nonsec_entry(void *target_pc, unsigned long r0,
+                     unsigned long r1, unsigned long r2);
+void _smp_pen(void);
+
+extern char __secure_start[];
+extern char __secure_end[];
+
+#endif /* CONFIG_ARMV7_NONSEC || CONFIG_ARMV7_VIRT */
 
 #endif /* ! __ASSEMBLY__ */