Skip to content

SiFive UART support

Anup Patel u-boot 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 4/40 of 2 patches 0 repliesNew
  2. v3 Latest2 patches 0 repliesNew
  3. v2 posting 3/40 of 2 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/40 of 2 patches0 repliesSuperseded
v2 posting 1/42 patches0 repliesSuperseded
v12 patches0 repliesSuperseded

Changes in v3 from the cover letter

- Added pending() callback implementation for tstc() console API to work correctly.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drivers: serial: Add SiFive UART driverdrivers/serial/Kconfig drivers/serial/Makefile drivers/serial/serial_sifive.c+229 -00 replies
2/2riscv: qemu: Imply SIFIVE_SERIAL for emulationboard/emulation/qemu-riscv/Kconfig+1 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPalmer DabbeltBin Meng
1/2R-b R-b T-b
2/2R-b T-b

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

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/2] SiFive UART support

This patchset adds SiFive UART driver for SiFive UART found on SiFive boards.

The driver is tested on QEMU sifive_u machine. In fact, with this patchset same U-Boot binary boots on QEMU virt machine and QEMU sifive_u machine in both M-mode and S-mode.

The patches are based upon latest RISC-V UBoot tree
(git://git.denx.de/u-boot-riscv.git) at commit id 48cbf6246052de10d35b616b5efb2f783904a49d

Changes since v2:
- Added pending() callback implementation for tstc() console API to work correctly.

Changes since v1:
- Fixed copyright header in SiFive UART driver
- Imply SIFIVE_SERIAL for QEMU emulation instead of enabling it in defconfigs.

Anup Patel (2):
drivers: serial: Add SiFive UART driver
riscv: qemu: Imply SIFIVE_SERIAL for emulation

 board/emulation/qemu-riscv/Kconfig |   1 +
 drivers/serial/Kconfig             |  13 ++
 drivers/serial/Makefile            |   1 +
 drivers/serial/serial_sifive.c     | 215 +++++++++++++++++++++++++++++
 4 files changed, 230 insertions(+)
 create mode 100644 drivers/serial/serial_sifive.c
Signature · 1 line
2.17.1