aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/common.c
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2021-06-11 11:45:21 +0300
committerLokesh Vutla <lokeshvutla@ti.com>2021-06-11 16:34:52 +0530
commit7acd4d7142e989785ef4e7f7dfcf9ff9fd589074 (patch)
treea25f8df47f0eee41deb8a4c777c0725d04f04561 /arch/arm/mach-k3/common.c
parent0714580346cc0b3999d62e0949b17561a965a24b (diff)
downloadu-boot-7acd4d7142e989785ef4e7f7dfcf9ff9fd589074.zip
u-boot-7acd4d7142e989785ef4e7f7dfcf9ff9fd589074.tar.gz
u-boot-7acd4d7142e989785ef4e7f7dfcf9ff9fd589074.tar.bz2
arm: mach-k3: common: Drop main r5 start
Only start-up the non-linux remote cores if we are running in legacy boot mode. HSM rearch is not yet supporting this. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Tero Kristo <kristo@kernel.org>
Diffstat (limited to 'arch/arm/mach-k3/common.c')
-rw-r--r--arch/arm/mach-k3/common.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index 0a1638e..ab6d9bd 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -212,11 +212,12 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
panic("rproc failed to be initialized (%d)\n", ret);
init_env();
- start_non_linux_remote_cores();
- if (!fit_image_info[IMAGE_ID_DM_FW].image_start)
+
+ if (!fit_image_info[IMAGE_ID_DM_FW].image_start) {
+ start_non_linux_remote_cores();
size = load_firmware("name_mcur5f0_0fw", "addr_mcur5f0_0load",
&loadaddr);
-
+ }
/*
* It is assumed that remoteproc device 1 is the corresponding