]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mach-k3: Cleanup common start_non_linux_remote_cores()
authorSuman Anna <s-anna@ti.com>
Mon, 26 Jul 2021 21:13:09 +0000 (16:13 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 27 Jul 2021 05:30:44 +0000 (11:00 +0530)
The mach-k3 common code defined a weak start_non_linux_remote_cores()
function so that the proper implementation can be plugged in the
SoC-specific source files. This won't be needed anymore, so remove the
the common code.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210726211311.5977-4-s-anna@ti.com
arch/arm/mach-k3/common.c
arch/arm/mach-k3/common.h

index ab6d9bd3d0eeb7b5eb3deb9729fd780f900b96e1..bb0f64194f4e6ca2a78ed40f4f09e12a4b27c6a5 100644 (file)
@@ -193,10 +193,6 @@ int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr)
 }
 #endif
 
-__weak void start_non_linux_remote_cores(void)
-{
-}
-
 void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
 {
        typedef void __noreturn (*image_entry_noargs_t)(void);
@@ -214,7 +210,6 @@ void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
        init_env();
 
        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);
        }
index f421ed1bb18ceabdea0f7a8f482e67baa342b4c5..e81b70d7c36824804e1495430c0eb0d5cc491986 100644 (file)
@@ -22,7 +22,6 @@ void setup_k3_mpu_regions(void);
 int early_console_init(void);
 void disable_linefill_optimization(void);
 void remove_fwl_configs(struct fwl_data *fwl_data, size_t fwl_data_size);
-void start_non_linux_remote_cores(void);
 int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr);
 void k3_sysfw_print_ver(void);
 void spl_enable_dcache(void);