[U-Boot] [PATCH] main: add new bootstage ID for entering cli loop

adding a new bootstage ID: BOOTSTAGE_ID_ENTER_CLI_LOOP
Signed-off-by: Heiko Schocher hs@denx.de --- 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(+)
diff --git a/common/cli.c b/common/cli.c index fea8f8004c..f4054fb1fc 100644 --- a/common/cli.c +++ b/common/cli.c @@ -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 */ diff --git a/include/bootstage.h b/include/bootstage.h index c9408e7b12..5e7e242b83 100644 --- a/include/bootstage.h +++ b/include/bootstage.h @@ -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,

On Fri, Apr 12, 2019 at 12:37:03PM +0200, Heiko Schocher wrote:
adding a new bootstage ID: BOOTSTAGE_ID_ENTER_CLI_LOOP
Signed-off-by: Heiko Schocher hs@denx.de
Applied to u-boot/master, thanks!
participants (2)
-
Heiko Schocher
-
Tom Rini