summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib32/start-kernel-optee.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib32/start-kernel-optee.S')
-rw-r--r--arch/arm/lib32/start-kernel-optee.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/lib32/start-kernel-optee.S b/arch/arm/lib32/start-kernel-optee.S
new file mode 100644
index 0000000000..92da4b63c9
--- /dev/null
+++ b/arch/arm/lib32/start-kernel-optee.S
@@ -0,0 +1,14 @@
+#include <linux/linkage.h>
+
+ENTRY(start_kernel_optee)
+ /*
+ * r0 = optee
+ * r1 = kernel
+ * r2 = oftree
+ */
+ mov r4, r0
+ mov r0, #0
+ mov lr, r1
+ mov r1, #0
+ bx r4
+ENDPROC(start_kernel_optee)