diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-11-29 16:14:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-12-02 11:02:21 +0100 |
commit | 39ae48a54ec9fa471261e25413814d54db656c87 (patch) | |
tree | 8286642ffdaa9518431ee2d5a8975dd7fec6cbe9 /arch/arm/lib32/start-kernel-optee.S | |
parent | cae5e14224f4e8d935fe16d6c4d07648a960bfa8 (diff) | |
download | barebox-39ae48a54ec9fa471261e25413814d54db656c87.tar.gz barebox-39ae48a54ec9fa471261e25413814d54db656c87.tar.xz |
ARM: move into ARM32 specific optee kernel start into lib32 dir
Otherwise it may also get built on a ARM64 config, which obviously
fails.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib32/start-kernel-optee.S')
-rw-r--r-- | arch/arm/lib32/start-kernel-optee.S | 14 |
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) |