git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7d70fe
)
Fix autoboot countdown printing wrong
author
David Zang
<davidzangcs@gmail.com>
Mon, 7 Jul 2025 00:22:01 +0000
(19:22 -0500)
committer
Tom Rini
<trini@konsulko.com>
Mon, 14 Jul 2025 21:16:53 +0000
(15:16 -0600)
Originally when bootdelay >99, the countdown breaks. Setting bootdelay
at 101 or bigger will trigger this error.
Signed-off-by: David Zang <davidzangcs@gmail.com>
common/autoboot.c
patch
|
blob
|
history
diff --git
a/common/autoboot.c
b/common/autoboot.c
index
0a25449
..
e39f4a3
100644
(file)
--- a/
common/autoboot.c
+++ b/
common/autoboot.c
@@
-410,7
+410,7
@@
static int abortboot_single_key(int bootdelay)
udelay(10000);
} while (!abort && get_timer(ts) < 1000);
- printf("\
b\b\b%2d
", bootdelay);
+ printf("\
rHit any key to stop autoboot: %1d\033[K
", bootdelay);
}
putc('\n');