Skip to content

serial: 8250: move mmp|pxa uart earlycon code and add xscale earlycon

Jisheng Zhang linux-riscv linux-serial lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v11 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- split the patch into two as suggested by Greg

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2serial: 8250: move mmp|pxa uart earlycon codedrivers/tty/serial/8250/8250_early.c drivers/tty/serial/8250/8250_pxa.c+10 -160 replies
2/2serial: 8250_early: add xscale earlycon supportdrivers/tty/serial/8250/8250_early.c+1 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchYixun Lan
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 1 line
2.43.0