]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: cpm_uart: Add udbg support for enabling xmon
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Wed, 23 Dec 2020 09:38:46 +0000 (09:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Dec 2020 15:12:34 +0000 (16:12 +0100)
commit785559c26c7dde60f5291f7669ab4a6f857ad95c
tree7725956945a752dc5fc3a9a467268ef9a202e848
parent97cbeeb754d7a9aa406bab266e134b36fea17537
tty: serial: cpm_uart: Add udbg support for enabling xmon

In order to use xmon with powerpc 8xx, the serial driver
must provide udbg_putc() and udpb_getc().

Provide them via cpm_put_poll_char() and cpm_get_poll_char().

This requires CONFIG_CONSOLE_POLL.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/e4471bf81089252470efb3eed735d71a5b32adbd.1608716197.git.christophe.leroy@csgroup.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/cpm_uart/cpm_uart_core.c