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/cpu | |
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/cpu')
-rw-r--r-- | arch/arm/cpu/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/cpu/start-kernel-optee.S | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/arch/arm/cpu/Makefile b/arch/arm/cpu/Makefile index 09b3bc2eea..4b6e238497 100644 --- a/arch/arm/cpu/Makefile +++ b/arch/arm/cpu/Makefile @@ -15,7 +15,6 @@ pbl-$(CONFIG_BOARD_ARM_GENERIC_DT_AARCH64) += board-dt-2nd-aarch64.o obj-pbl-y += setupc$(S64).o cache$(S64).o -obj-$(CONFIG_BOOTM_OPTEE) += start-kernel-optee.o obj-$(CONFIG_ARM_PSCI_CLIENT) += psci-client.o # diff --git a/arch/arm/cpu/start-kernel-optee.S b/arch/arm/cpu/start-kernel-optee.S deleted file mode 100644 index 92da4b63c9..0000000000 --- a/arch/arm/cpu/start-kernel-optee.S +++ /dev/null @@ -1,14 +0,0 @@ -#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) |