]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: unbreak terminal-only mode
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Jul 2018 16:10:30 +0000 (12:10 -0400)
committerStefan Roese <sr@denx.de>
Tue, 7 Aug 2018 08:53:52 +0000 (10:53 +0200)
commit18fca4fa723fb6f2a6b1a9a65c8a0fd9264c0f3a
tree9c9c3fb2734abbf631f39431df37ecc33ffe6353
parent54c48e4afd0ee6cabc9cc7572fd54446caac1abd
tools: kwboot: unbreak terminal-only mode

Commit 84899e2 ("tools/kwboot: Sync with latest barebox version to
support Armada XP") accidently broke the terminal-only mode (-t) by
removing the test on the bootmsg. Thus even when trying to use kwboot
as a plain terminal, it asks to reboot the target.

This commit simply reintroduces the lost test so that it is possible
again to use kwboot to attach to the target system's console.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
tools/kwboot.c