diff options
author | Patrick Georgi <pgeorgi@google.com> | 2019-07-19 12:33:39 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-07-26 08:41:38 +0000 |
commit | ccab651ded76308e86596ab1da7616a7935e7d95 (patch) | |
tree | dc239a1c0e4993da371aea4ca6d159f640aadc4f | |
parent | db7a3ae8635a92764d357a93c04f49e9d9bbdca7 (diff) | |
download | coreboot-ccab651ded76308e86596ab1da7616a7935e7d95.tar.xz |
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>
-rw-r--r-- | payloads/libpayload/drivers/serial/qcs405.c | 1 |
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 = { |