]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sandbox: Tidy up terminal restore
authorSimon Glass <sjg@chromium.org>
Mon, 11 May 2015 03:07:27 +0000 (21:07 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:48:17 +0000 (22:48 +0200)
commit6564a260c78a76a6793261c17c8b9551d73d816a
tree70c007d7238c9ff1f0b8cbb85d092343d2e59eab
parent9a7aeeaf837d39d3ec0ae26871600fdc89aef630
sandbox: Tidy up terminal restore

For some reason 'u-boot -D' does not restore the terminal correctly when
the 'reset' command is used. Call the terminal restore function explicitly
in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
arch/sandbox/cpu/cpu.c
arch/sandbox/cpu/os.c
include/os.h