]> git.baikalelectronics.ru Git - uboot.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)
commitc4c4cab413e683411fa9dcbcbf0ef50a0c2a7126
tree86332ddce168972b911c27027c5270dc2eb591f8
parentf26dd35fd146519551402ac94999cb1053e5483d
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