Message ID | 20210727232440.26468-3-s-anna@ti.com |
---|---|
State | Accepted |
Commit | d86a089d2946519dd7e0a840762f35e477368c85 |
Delegated to: | Tom Rini |
Headers | show |
Series | Minor misc. cleanups for TI K3 SoCs | expand |
On 18:24-20210727, Suman Anna wrote: > 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> > --- > arch/arm/mach-k3/common.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c > index bb0f64194f4e..08b7344df749 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); Reviewed-by: Nishanth Menon <nm@ti.com>
On Tue, Jul 27, 2021 at 06:24:40PM -0500, Suman Anna wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c index bb0f64194f4e..08b7344df749 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);
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> --- arch/arm/mach-k3/common.c | 5 +++++ 1 file changed, 5 insertions(+)