libpayload/serial/qcs405: Mark uart console as such

depthcharge prefers knowing where its input comes from

BUG=b:137378326
BRANCH=none
TEST=ctrl-d / enter to enter dev-mode works now.

Change-Id: I74b5be18c3583be17c73950ced93fad883690090
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34451
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Patrick Georgi 2019-07-19 12:33:39 +02:00
parent db7a3ae863
commit ccab651ded
1 changed files with 1 additions and 0 deletions

View File

@ -285,6 +285,7 @@ struct uart_params_t {
static struct console_input_driver consin = { static struct console_input_driver consin = {
.havekey = serial_havechar, .havekey = serial_havechar,
.getchar = serial_getchar, .getchar = serial_getchar,
.input_type = CONSOLE_INPUT_TYPE_UART,
}; };
static struct console_output_driver consout = { static struct console_output_driver consout = {