]> git.ipfire.org Git - thirdparty/linux.git/commit
serial: 8250: move mmp|pxa uart earlycon code
authorJisheng Zhang <jszhang@kernel.org>
Thu, 11 Jul 2024 16:07:19 +0000 (00:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2024 10:34:17 +0000 (12:34 +0200)
commit8630f9d9cdccef8d1468a0ce62582d208cf2a15e
tree1d110091851a3ed50db2a6ba951dd7fe5e0117e9
parent59449c9dbdaa29e9e9e75f66e8cb71694cf2b0a6
serial: 8250: move mmp|pxa uart earlycon code

There are two other drivers that bind to "mrvl,mmp-uart": the 8250_of
and the 8250_pxa. The previous one is generic and the latter is binded
to ARCH_PXA || ARCH_MMP. Now we may have pxa programming compatible
HW to support, making use of the generic 8250_of seems a good idea.
However, there's no earlycon support if we go with this solution. So
move the mmp|pxa-uart earlycon code to core 8250_early.c.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20240711160720.3488-2-jszhang@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_early.c
drivers/tty/serial/8250/8250_pxa.c