On 6/25/26 8:31 AM, Patrice CHOTARD wrote:


On 6/18/26 11:29, Sean Nyekjaer wrote:
The stm32mp1 specific code prints the image entry point unconditionally
before jumping to the next-stage image, unlike the generic SPL
implementation in common/spl/spl.c.

Signed-off-by: Sean Nyekjaer <[email protected]>
---
  arch/arm/mach-stm32mp/stm32mp1/cpu.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-stm32mp/stm32mp1/cpu.c 
b/arch/arm/mach-stm32mp/stm32mp1/cpu.c
index 252aef1852e..ea5d8a648df 100644
--- a/arch/arm/mach-stm32mp/stm32mp1/cpu.c
+++ b/arch/arm/mach-stm32mp/stm32mp1/cpu.c
@@ -361,7 +361,7 @@ void __noreturn jump_to_image(struct spl_image_info 
*spl_image)
        image_entry_stm32_t image_entry =
                (image_entry_stm32_t)spl_image->entry_point;
- printf("image entry point: 0x%lx\n", spl_image->entry_point);
+       debug("image entry point: 0x%lx\n", spl_image->entry_point);
        image_entry(romapi);
  }
  #endif

+ Marek, as he is the author of the path which brang jump_to_image()

Personally i don't mind of usage either printk() or debug().
Marek, what do you prefer ?
debug() is fine, thanks !

Reply via email to