summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-07-19 12:33:39 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-07-26 08:41:38 +0000
commitccab651ded76308e86596ab1da7616a7935e7d95 (patch)
treedc239a1c0e4993da371aea4ca6d159f640aadc4f /payloads/libpayload
parentdb7a3ae8635a92764d357a93c04f49e9d9bbdca7 (diff)
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>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/drivers/serial/qcs405.c1
1 files changed, 1 insertions, 0 deletions
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 = {