At present sandbox sets non-blocking I/O as soon as any input is read from the terminal. However it does not restore the previous state on exit. Fix this and drop the old os_read_no_block() function. This means that we always enable blocking I/O in sandbox (if input is a terminal) whereas previously it would only happen on the first call to tstc() or getc(). However, the difference is likely not important. Signed-off-by: Simon Glass <sjg@chromium.org>  | 
			||
|---|---|---|
| .. | ||
| Makefile | ||
| cpu.c | ||
| eth-raw-os.c | ||
| os.c | ||
| sdl.c | ||
| spl.c | ||
| start.c | ||
| state.c | ||
| u-boot-spl.lds | ||
| u-boot.lds | ||