aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/common.c
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2021-07-27 18:24:40 -0500
committerTom Rini <trini@konsulko.com>2021-09-17 14:47:03 -0400
commitd86a089d2946519dd7e0a840762f35e477368c85 (patch)
tree5550d6f9d81564450f590159c793be3f13a217c9 /arch/arm/mach-k3/common.c
parent04662755000c7fb7d5716953a7899560863648e6 (diff)
downloadu-boot-d86a089d2946519dd7e0a840762f35e477368c85.zip
u-boot-d86a089d2946519dd7e0a840762f35e477368c85.tar.gz
u-boot-d86a089d2946519dd7e0a840762f35e477368c85.tar.bz2
arm: mach-k3: common: Add a release_resources_for_core_shutdown() stub
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>
Diffstat (limited to 'arch/arm/mach-k3/common.c')
-rw-r--r--arch/arm/mach-k3/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c
index bb0f641..08b7344 100644
--- a/arch/arm/mach-k3/common.c
+++ b/arch/arm/mach-k3/common.c
@@ -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);