summaryrefslogtreecommitdiff
path: root/common/spl/spl_optee.S
diff options
context:
space:
mode:
Diffstat (limited to 'common/spl/spl_optee.S')
-rw-r--r--common/spl/spl_optee.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/spl/spl_optee.S b/common/spl/spl_optee.S
new file mode 100644
index 00000000000..86fc3985465
--- /dev/null
+++ b/common/spl/spl_optee.S
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2017 Rockchip Electronic Co.,Ltd
+ */
+
+#include <linux/linkage.h>
+#include <asm/assembler.h>
+
+ENTRY(spl_optee_entry)
+ ldr lr, =CONFIG_SYS_TEXT_BASE
+ mov pc, r3
+ENDPROC(spl_optee_entry)