X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fcli.c;h=67ceb635a67776ef3315e156e5b9e40836a2c1a6;hb=2373cba3d2d5d182378c0259cf609438355bfece;hp=51b8d5f85cbb4fa57b46129d13f3de837a897c70;hpb=e8f80a5a58c9b506453cc0780687e8ed457d30a6;p=oweals%2Fu-boot.git diff --git a/common/cli.c b/common/cli.c index 51b8d5f85c..67ceb635a6 100644 --- a/common/cli.c +++ b/common/cli.c @@ -11,7 +11,9 @@ #include #include #include +#include #include +#include #include #include @@ -27,7 +29,7 @@ DECLARE_GLOBAL_DATA_PTR; */ int run_command(const char *cmd, int flag) { -#ifndef CONFIG_HUSH_PARSER +#if !CONFIG_IS_ENABLED(HUSH_PARSER) /* * cli_run_command can return 0 or 1 for success, so clean up * its result. @@ -213,6 +215,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 */