mbox series

[v2,0/2] serial: 8250: move mmp|pxa uart earlycon code and add xscale earlycon

Message ID 20240711160720.3488-1-jszhang@kernel.org
Headers show
Series serial: 8250: move mmp|pxa uart earlycon code and add xscale earlycon | expand

Message

Jisheng Zhang July 11, 2024, 4:07 p.m. UTC
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.

patch2 adds xscale earlycon support too, only build test since
I have no xscale machine any more.

Since v1:
  - split the patch into two as suggested by Greg

Jisheng Zhang (2):
  serial: 8250: move mmp|pxa uart earlycon code
  serial: 8250_early: add xscale earlycon support

 drivers/tty/serial/8250/8250_early.c | 11 +++++++++++
 drivers/tty/serial/8250/8250_pxa.c   | 16 ----------------
 2 files changed, 11 insertions(+), 16 deletions(-)