diff options
author | Pali Rohár <pali@kernel.org> | 2021-09-24 23:07:08 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-10-01 11:07:13 +0200 |
commit | c704e0e1df93328a336780c8e3dd87ad44b4f351 (patch) | |
tree | 16a55f5358017c65983c987b5ba953794138df49 /lib/string.c | |
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions