From ccab651ded76308e86596ab1da7616a7935e7d95 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 19 Jul 2019 12:33:39 +0200 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/34451 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- payloads/libpayload/drivers/serial/qcs405.c | 1 + 1 file changed, 1 insertion(+) diff --git a/payloads/libpayload/drivers/serial/qcs405.c b/payloads/libpayload/drivers/serial/qcs405.c index 7a80aae9c3..06ec5b9e1d 100644 --- a/payloads/libpayload/drivers/serial/qcs405.c +++ b/payloads/libpayload/drivers/serial/qcs405.c @@ -285,6 +285,7 @@ struct uart_params_t { static struct console_input_driver consin = { .havekey = serial_havechar, .getchar = serial_getchar, + .input_type = CONSOLE_INPUT_TYPE_UART, }; static struct console_output_driver consout = {