Home
last modified time | relevance | path

Searched refs:lastcommand (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/common/
H A Dcli_simple.c261 static char lastcommand[CONFIG_SYS_CBSIZE + 1] = { 0, }; in cli_simple_loop() local
278 strlcpy(lastcommand, console_buffer, in cli_simple_loop()
299 rc = run_command_repeatable(lastcommand, flag); in cli_simple_loop()
303 lastcommand[0] = 0; in cli_simple_loop()
/openbmc/u-boot/cmd/
H A Dbedbug.c196 static char lastcommand[CONFIG_SYS_CBSIZE] = { 0 }; /* previous command */ in bedbug_main_loop() local
217 strcpy (lastcommand, console_buffer); in bedbug_main_loop()
224 rc = run_command_repeatable(lastcommand, flag); in bedbug_main_loop()
228 lastcommand[0] = 0; in bedbug_main_loop()