From: Kever Yang Date: Fri, 29 Mar 2019 19:21:49 +0800 Subject: [U-Boot] [PATCH] optee: support rockchip optee binary release Message-ID: <20190329112149.4007-1-kever.yang@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Rockchip provide tee binary release in 'rkbin' repository: https://github.com/rockchip-linux/rkbin For some historical reason, rockchip optee binary is using 'r1' instead of 'lr' as U-Boot entry. Signed-off-by: Kever Yang --- common/spl/spl_optee.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/spl/spl_optee.S b/common/spl/spl_optee.S index 8bd1949ddf..092307b3cc 100644 --- a/common/spl/spl_optee.S +++ b/common/spl/spl_optee.S @@ -8,5 +8,8 @@ ENTRY(spl_optee_entry) ldr lr, =CONFIG_SYS_TEXT_BASE +#ifdef CONFIG_ARCH_ROCKCHIP + ldr r1, =CONFIG_SYS_TEXT_BASE +#endif mov pc, r3 ENDPROC(spl_optee_entry) -- 2.20.1