commit | c704e0e1df93328a336780c8e3dd87ad44b4f351 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Fri Sep 24 23:07:08 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Fri Oct 01 11:07:13 2021 +0200 |
tree | 16a55f5358017c65983c987b5ba953794138df49 | |
parent | 99a3d02370b6b526594ee73eb26d39e8d8ced8d3 [diff] |
tools: kwboot: Fix initializing tty device Retrieve current terminal settings via tcgetattr(), set to raw mode with cfmakeraw(), enable receiver via CREAD and ignore modem control lines via CLOCAL. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>