serial: sandbox: support Unicode
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 9 Nov 2019 09:59:02 +0000 (10:59 +0100)
committerSimon Glass <sjg@chromium.org>
Tue, 10 Dec 2019 12:54:55 +0000 (05:54 -0700)
commit5e5c785e34a18a12faedc93829e2a88ef22ade2a
treed7594af666833b2dc94d9b9ee0a8f283c4b693d9
parent15ab77c2034e243f2a49b6908428779a800052df
serial: sandbox: support Unicode

Due to a conversion error the sandbox does not accept byte values 0x80-0xff
from the keyboard. The UEFI extended text input unit test requires Unicode
support.

Use unsigned char for the serial buffer.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
drivers/serial/sandbox.c