commit | 909a0b9950c5b0df82b6cd837536db4e9b951b14 | [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 | 6783549b008bfb24db448cc00a3845baf56410d4 [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>