]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
main: add new bootstage ID for entering cli loop
authorHeiko Schocher <hs@denx.de>
Fri, 12 Apr 2019 10:37:03 +0000 (12:37 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 26 Apr 2019 21:51:51 +0000 (17:51 -0400)
adding a new bootstage ID:
BOOTSTAGE_ID_ENTER_CLI_LOOP

Signed-off-by: Heiko Schocher <hs@denx.de>
common/cli.c
include/bootstage.h

index fea8f8004c3e1f1acc8fbc0179f4dbb15a17c86b..f4054fb1fc8002fd829278e187cca6d1826c7cdb 100644 (file)
@@ -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 */
index c9408e7b1266898b6408b4f90506180298bf35ac..5e7e242b83475bafd964c9bf7545f23bcff546de 100644 (file)
@@ -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,