]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/secure.h
Merge git://git.denx.de/u-boot-fdt
[u-boot] / arch / arm / include / asm / secure.h
index effdb1858d88759b945c8e6f45eadad6666c6266..d23044a1c368a1d7fd5435db1ba84280f18be5d5 100644 (file)
@@ -3,7 +3,10 @@
 
 #include <config.h>
 
-#ifdef CONFIG_ARMV7_SECURE_BASE
+#define __secure __attribute__ ((section ("._secure.text")))
+#define __secure_data __attribute__ ((section ("._secure.data")))
+
+#if defined(CONFIG_ARMV7_SECURE_BASE) || defined(CONFIG_ARMV8_SECURE_BASE)
 /*
  * Warning, horror ahead.
  *