mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-15 11:21:29 +00:00
rk322x: put next entry point in r1 register to support rockchip proprietary op-tee blob
This commit is contained in:
parent
d9613be7e6
commit
adca07f5ab
1 changed files with 24 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
|||
From 52a917980ff9c621ff189c652df6f6c4afa7f44c Mon Sep 17 00:00:00 2001
|
||||
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
||||
Date: Mon, 12 Apr 2021 13:42:48 +0000
|
||||
Subject: [PATCH] Set register r1 to CONFIG_SYS_TEXT_BASE to support rockchip
|
||||
proprietary OP-TEE binaries
|
||||
|
||||
---
|
||||
common/spl/spl_optee.S | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/common/spl/spl_optee.S b/common/spl/spl_optee.S
|
||||
index 8bd1949d..6dde863f 100644
|
||||
--- a/common/spl/spl_optee.S
|
||||
+++ b/common/spl/spl_optee.S
|
||||
@@ -8,5 +8,6 @@
|
||||
|
||||
ENTRY(spl_optee_entry)
|
||||
ldr lr, =CONFIG_SYS_TEXT_BASE
|
||||
+ ldr r1, =CONFIG_SYS_TEXT_BASE
|
||||
mov pc, r3
|
||||
ENDPROC(spl_optee_entry)
|
||||
--
|
||||
2.25.1
|
||||
|
Loading…
Add table
Reference in a new issue