]> git.sur5r.net Git - u-boot/commit
sandbox: put stdin into raw mode
authorMike Frysinger <vapier@gentoo.org>
Wed, 26 Oct 2011 00:21:29 +0000 (00:21 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 3 Nov 2011 21:35:21 +0000 (22:35 +0100)
commitab06a758b9407a3f4b89d23ac08dc45aa7749f11
tree8ce0ad0d59b2ed86b010be7d7e6a30311a6ad5d3
parentec8f0b9024adc1075bb514edefbf186e63f84268
sandbox: put stdin into raw mode

This allows us to act like a serial device: we get tab chars and CTRL+C
and respond appropriately.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Tested-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c
drivers/serial/sandbox.c
include/os.h