]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: mach-k3: common: Drop main r5 start
authorDave Gerlach <d-gerlach@ti.com>
Fri, 11 Jun 2021 08:45:21 +0000 (11:45 +0300)
committerLokesh Vutla <lokeshvutla@ti.com>
Fri, 11 Jun 2021 11:04:52 +0000 (16:34 +0530)
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>
arch/arm/mach-k3/common.c

index 0a1638ee044131523f7dcb7695b3ff852c67f465..ab6d9bd3d0eeb7b5eb3deb9729fd780f900b96e1 100644 (file)
@@ -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