Skip to contentSkip to conversation

arm: lib: bootm: Push the Starting kernel print to the end

PATCH In review Keerthy 3 participants 3 messages Feb 20, 2019 – Mar 22, 2019 Arm (32-bit)

lore
Share & tools
lore

Keerthy

author
#0 lore raw

PATCH 1/1 arm: lib: bootm: Push the Starting kernel print to the end

Push the Starting kernel print to the end just before the dm_remove_devices call.

---
 arch/arm/lib/bootm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/lib/bootm.c +2 -2
index 329f20c2bf..bf68a5ba62 100644
@@ -88,8 +88,6 @@ __weak void board_quiesce_devices(void)
  */
 static void announce_and_cleanup(int fake)
 {
-	printf("\nStarting kernel ...%s\n\n", fake ?
-		"(fake run for tracing)" : "");
 	bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel");
 #ifdef CONFIG_BOOTSTAGE_FDT
 	bootstage_fdt_add_report();
@@ -104,6 +102,8 @@ static void announce_and_cleanup(int fake)
 
 	board_quiesce_devices();
 
+	printf("\nStarting kernel ...%s\n\n", fake ?
+		"(fake run for tracing)" : "");
 	/*
 	 * Call remove function of all devices with a removal flag set.
 	 * This may be useful for last-stage operations, like cancelling
Signature · 1 line
2.17.1
#2 lore raw
In reply to Keerthy
Quoted 5 lines · Keerthy

Push the Starting kernel print to the end just before the dm_remove_devices call.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190322/a0226747/attachment.sig>