Skip to contentSkip to conversation

main: add new bootstage ID for entering cli loop

PATCH In review Heiko Schocher 2 participants 2 messages Apr 12, 2019 – Apr 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 main: add new bootstage ID for entering cli loop

adding a new bootstage ID:
BOOTSTAGE_ID_ENTER_CLI_LOOP

---
travis build with this patch is fine, see:
https://travis-ci.org/hsdenx/u-boot/builds/519102185

 common/cli.c        | 1 +
 include/bootstage.h | 1 +
 2 files changed, 2 insertions(+)
common/cli.c +1 -0
index fea8f8004c..f4054fb1fc 100644
@@ -213,6 +213,7 @@ err:
 
 void cli_loop(void)
 {
+	bootstage_mark(BOOTSTAGE_ID_ENTER_CLI_LOOP);
 #ifdef CONFIG_HUSH_PARSER
 	parse_file_outer();
 	/* This point is never reached */
include/bootstage.h +1 -0
index c9408e7b12..5e7e242b83 100644
@@ -181,6 +181,7 @@ enum bootstage_id {
 	BOOTSTAGE_ID_BOOTM_START,
 	BOOTSTAGE_ID_BOOTM_HANDOFF,
 	BOOTSTAGE_ID_MAIN_LOOP,
+	BOOTSTAGE_ID_ENTER_CLI_LOOP,
 	BOOTSTAGE_KERNELREAD_START,
 	BOOTSTAGE_KERNELREAD_STOP,
 	BOOTSTAGE_ID_BOARD_INIT,
Signature · 1 line
2.17.2
#1 lore raw
Quoted 4 lines · Heiko Schocher

adding a new bootstage ID:
BOOTSTAGE_ID_ENTER_CLI_LOOP

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/20190427/a1bace5c/attachment.sig>