Skip to contentSkip to conversation

arm: mach-k3: am62a7: change some prints to debug prints

PATCH In review Bryan Brattlof 2 participants 2 messages Jul 17, 2023 – Jul 21, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mach-k3: am62a7: change some prints to debug prints

There is little need to print the devstat information or when we exit a function during a typical boot. Remove them to reduce the noise during typical operation

---
 arch/arm/mach-k3/am62a7_init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-k3/am62a7_init.c +2 -2
index 1f51b04089696..8dd00f018d21d 100644
@@ -174,7 +174,7 @@ void board_init_f(ulong dummy)
 
 	setup_qos();
 
-	printf("am62a_init: %s done\n", __func__);
+	debug("am62a_init: %s done\n", __func__);
 }
 
 static u32 __get_backup_bootmedia(u32 devstat)
@@ -272,7 +272,7 @@ u32 spl_boot_device(void)
 	else
 		bootmedia = __get_backup_bootmedia(devstat);
 
-	printf("am62a_init: %s: devstat = 0x%x bootmedia = 0x%x bootindex = %d\n",
+	debug("am62a_init: %s: devstat = 0x%x bootmedia = 0x%x bootindex = %d\n",
 	       __func__, devstat, bootmedia, bootindex);
 	return bootmedia;
 }

base-commit: 13aa090b87a0fbdfe690011669b9fdb96bb1ccc7

Signature · 1 line
2.41.0
#1 lore raw
Quoted 5 lines · Bryan Brattlof

There is little need to print the devstat information or when we exit a function during a typical boot. Remove them to reduce the noise during typical operation

Applied to u-boot/master, thanks!

Signature · 1 line
Tom