The readline function does not return timed-out anymore since the commit: be5d13bcb readline_simple: drop unusable u-boot legacy stuff Signed-off-by: Gaël PORTAY <gael.portay@xxxxxxxxxxxxxxxxxxxx> --- lib/readline_simple.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/readline_simple.c b/lib/readline_simple.c index 7dd18e426..9ec00e7d8 100644 --- a/lib/readline_simple.c +++ b/lib/readline_simple.c @@ -35,11 +35,8 @@ static char * delete_char (char *buffer, char *p, int *colp, int *np, int plen) /* * Prompt for input and read a line. - * If CONFIG_BOOT_RETRY_TIME is defined and retry_time >= 0, - * time out when time goes past endtime (timebase time in ticks). * Return: number of read characters - * -1 if break - * -2 if timed out + * -1 if error or break */ int readline (const char *prompt, char *line, int len) { -- 2.13.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox