]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mach-k3: common: Add a release_resources_for_core_shutdown() stub
authorSuman Anna <s-anna@ti.com>
Tue, 27 Jul 2021 23:24:40 +0000 (18:24 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 18:47:03 +0000 (14:47 -0400)
Add a weak release_resources_for_core_shutdown() stub implementation
that can be overridden by actual implementation if a SoC supports that
function.

Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-k3/common.c

index bb0f64194f4e6ca2a78ed40f4f09e12a4b27c6a5..08b7344df7494f9f0853cee7a70dd8eda6ad4653 100644 (file)
@@ -193,6 +193,11 @@ int load_firmware(char *name_fw, char *name_loadaddr, u32 *loadaddr)
 }
 #endif
 
+__weak void release_resources_for_core_shutdown(void)
+{
+       debug("%s not implemented...\n", __func__);
+}
+
 void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image)
 {
        typedef void __noreturn (*image_entry_noargs_t)(void);