OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jones <ajones@ventanamicro.com>
To: opensbi@lists.infradead.org
Subject: [PATCH 0/4] lib: utils/serial: Collection of UART code improvements
Date: Mon, 18 Jul 2022 19:20:24 +0200	[thread overview]
Message-ID: <20220718172028.2006166-1-ajones@ventanamicro.com> (raw)

This series is a collection of changes I made while reviewing the UART
code. I've compile tested it and boot it on QEMU (which of course only
tests uart8250). I did also pass in a DTB with 0 for 'current-speed' in
the UART node and nothing interesting happened, so I guess that's good.

Andrew Jones (4):
  lib: utils/fdt: Factor out common uart node code
  lib: utils/serial: Initialize platform_uart_data to zero
  lib: serial: Clean up coding style in sifive-uart.c
  lib: utils/serial: Ensure baudrate is non-zero before using

 lib/utils/fdt/fdt_helper.c                  | 131 ++++++--------------
 lib/utils/serial/fdt_serial_gaisler.c       |   2 +-
 lib/utils/serial/fdt_serial_shakti.c        |   2 +-
 lib/utils/serial/fdt_serial_sifive.c        |   2 +-
 lib/utils/serial/fdt_serial_uart8250.c      |   2 +-
 lib/utils/serial/fdt_serial_xlnx_uartlite.c |   2 +-
 lib/utils/serial/gaisler-uart.c             |   2 +-
 lib/utils/serial/shakti-uart.c              |   8 +-
 lib/utils/serial/sifive-uart.c              |  13 +-
 lib/utils/serial/uart8250.c                 |   7 +-
 platform/fpga/openpiton/platform.c          |   2 +-
 11 files changed, 66 insertions(+), 107 deletions(-)

-- 
2.36.1



             reply	other threads:[~2022-07-18 17:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 17:20 Andrew Jones [this message]
2022-07-18 17:20 ` [PATCH 1/4] lib: utils/fdt: Factor out common uart node code Andrew Jones
2022-07-30  5:24   ` Anup Patel
2022-07-30 10:19     ` Anup Patel
2022-07-18 17:20 ` [PATCH 2/4] lib: utils/serial: Initialize platform_uart_data to zero Andrew Jones
2022-07-18 17:42   ` Jessica Clarke
2022-07-18 18:35     ` Andrew Jones
2022-07-18 18:39       ` Jessica Clarke
2022-07-19 10:30         ` Andrew Jones
2022-07-30  5:25   ` Anup Patel
2022-07-30 10:20     ` Anup Patel
2022-07-18 17:20 ` [PATCH 3/4] lib: serial: Clean up coding style in sifive-uart.c Andrew Jones
2022-07-20 15:13   ` Xiang W
2022-07-30  5:27   ` Anup Patel
2022-07-30 10:20     ` Anup Patel
2022-07-18 17:20 ` [PATCH 4/4] lib: utils/serial: Ensure baudrate is non-zero before using Andrew Jones
2022-07-20 15:12   ` Xiang W
2022-07-20 17:16     ` Andrew Jones
2022-07-20 17:25       ` Xiang W
2022-07-21  5:35         ` Andrew Jones
2022-07-30  5:31   ` Anup Patel
2022-07-30 10:21     ` Anup Patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220718172028.2006166-1-ajones@ventanamicro.com \
    --to=ajones@ventanamicro.com \
    --cc=opensbi@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox