projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee8a4a3
)
main: add new bootstage ID for entering cli loop
author
Heiko Schocher
<hs@denx.de>
Fri, 12 Apr 2019 10:37:03 +0000
(12:37 +0200)
committer
Tom 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
patch
|
blob
|
history
include/bootstage.h
patch
|
blob
|
history
diff --git
a/common/cli.c
b/common/cli.c
index fea8f8004c3e1f1acc8fbc0179f4dbb15a17c86b..f4054fb1fc8002fd829278e187cca6d1826c7cdb 100644
(file)
--- 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 c9408e7b1266898b6408b4f90506180298bf35ac..5e7e242b83475bafd964c9bf7545f23bcff546de 100644
(file)
--- 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,