]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "tty: serial: fsl_lpuart: drop EARLYCON_DECLARE"
authorMichael Walle <michael@walle.cc>
Tue, 3 Mar 2020 17:42:58 +0000 (18:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2020 13:10:44 +0000 (14:10 +0100)
commitd86e647ed3a4f5a59efd676f7c08b48fb65a7907
tree4e28e0f8ff994b5dc31f1520f02e0dd23a6ad97a
parenta9cd0afdc6f95d9ef488f3d879176947e3b716e4
Revert "tty: serial: fsl_lpuart: drop EARLYCON_DECLARE"

This reverts commit 4e63739e847a02bd811afa4a5c9496523e9c799c.

This broke the earlycon on LS1021A processors because the order of the
earlycon_setup() functions were changed. Before the commit the normal
lpuart32_early_console_setup() was called. After the commit the
lpuart32_imx_early_console_setup() is called instead.

Fixes: 4e63739e847a ("tty: serial: fsl_lpuart: drop EARLYCON_DECLARE")
Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20200303174306.6015-2-michael@walle.cc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c