]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/secure.h
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[u-boot] / arch / arm / include / asm / secure.h
index 6d9088beb4d20725a1a2b7908e1fac5efbd48b34..d23044a1c368a1d7fd5435db1ba84280f18be5d5 100644 (file)
@@ -4,8 +4,9 @@
 #include <config.h>
 
 #define __secure __attribute__ ((section ("._secure.text")))
+#define __secure_data __attribute__ ((section ("._secure.data")))
 
-#ifdef CONFIG_ARMV7_SECURE_BASE
+#if defined(CONFIG_ARMV7_SECURE_BASE) || defined(CONFIG_ARMV8_SECURE_BASE)
 /*
  * Warning, horror ahead.
  *