]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwboot: Fix initialization of tty device
authorPali Rohár <pali@kernel.org>
Mon, 25 Oct 2021 13:12:53 +0000 (15:12 +0200)
committerStefan Roese <sr@denx.de>
Wed, 3 Nov 2021 05:45:26 +0000 (06:45 +0100)
commit2ecca3d0d76023f219ac4350b0112cd19fbdda2e
tree86332ddce168972b911c27027c5270dc2eb591f8
parent0a14341cf8f60e6a9ba2edb0802507cbb073e806
tools: kwboot: Fix initialization of tty device

Explicitly disable 2 stop bits by clearing CSTOPB flag, disable modem
control flow by clearing CRTSCTS flag and do not send hangup after closing
device by clearing HUPCL flag.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c